-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 8 pull requests #81674
Rollup of 8 pull requests #81674
Commits on Jan 27, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8afe598 - Browse repository at this point
Copy the full SHA 8afe598View commit details -
Fix ARM and AArch64 calling convention for passing small composite types
On big-endian the values need to be right-aligned within a 64-bit register, as if the value had been read with a 64-bit load instruction.
Configuration menu - View commit details
-
Copy full SHA for d53b0a0 - Browse repository at this point
Copy the full SHA d53b0a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06f14df - Browse repository at this point
Copy the full SHA 06f14dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for a112c4d - Browse repository at this point
Copy the full SHA a112c4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8783d1a - Browse repository at this point
Copy the full SHA 8783d1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69e6326 - Browse repository at this point
Copy the full SHA 69e6326View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5307230 - Browse repository at this point
Copy the full SHA 5307230View commit details
Commits on Feb 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 4b64bc1 - Browse repository at this point
Copy the full SHA 4b64bc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b35d601 - Browse repository at this point
Copy the full SHA b35d601View commit details -
Add lint for
panic!(123)
which is not accepted in Rust 2021.This extends the `panic_fmt` lint to warn for all cases where the first argument cannot be interpreted as a format string, as will happen in Rust 2021. It suggests to add `"{}", ` to format the message as a string. In the case of `std::panic!()`, it also suggests the recently stabilized `std::panic::panic_any()` function as an alternative. It renames the lint to `non_fmt_panic` to match the lint naming guidelines.
Configuration menu - View commit details
-
Copy full SHA for 6f90365 - Browse repository at this point
Copy the full SHA 6f90365View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91a9866 - Browse repository at this point
Copy the full SHA 91a9866View commit details
Commits on Feb 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c3dedd0 - Browse repository at this point
Copy the full SHA c3dedd0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3408c58 - Browse repository at this point
Copy the full SHA 3408c58View commit details -
Configuration menu - View commit details
-
Copy full SHA for bad0f28 - Browse repository at this point
Copy the full SHA bad0f28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 535f487 - Browse repository at this point
Copy the full SHA 535f487View commit details -
Configuration menu - View commit details
-
Copy full SHA for 717355d - Browse repository at this point
Copy the full SHA 717355dView commit details -
Fix out of date
Scalar
documentationScalars can represent integers up to u128, but the docs state otherwise.
Configuration menu - View commit details
-
Copy full SHA for 07c4eeb - Browse repository at this point
Copy the full SHA 07c4eebView commit details -
Add better diagnostic for missing where clause
Previously, it's not clear what exactly should be added in the suggested where clause, so this adds an example to demonstrate.
Configuration menu - View commit details
-
Copy full SHA for 6525671 - Browse repository at this point
Copy the full SHA 6525671View commit details -
Editorconfig is a lightweight specification that helps maintaining consistent coding/formatting style accross editors, especially those editors that are not explicitly aware of Rust and rustfmt. https://editorconfig.org/
Configuration menu - View commit details
-
Copy full SHA for ae3164e - Browse repository at this point
Copy the full SHA ae3164eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0622d6 - Browse repository at this point
Copy the full SHA a0622d6View commit details -
Rollup merge of rust-lang#80593 - jackh726:chalk-upgrade, r=nikomatsakis
Upgrade Chalk ~~Blocked on rust-lang/chalk#670~~ ~~Now blocked on rust-lang/chalk#680 and release~~ In addition to the straight upgrade, I also tried to fix some tests by properly returning variables and max universes in the solution. Unfortunately, this actually triggers the same perf problem that rustc traits code runs into in `canonicalizer`. Not sure what the root cause of this problem is, or why it's supposed to be solved in chalk. r? `@nikomatsakis`
Configuration menu - View commit details
-
Copy full SHA for 9cbd231 - Browse repository at this point
Copy the full SHA 9cbd231View commit details -
Rollup merge of rust-lang#81260 - vn971:restore-editorconfig, r=Mark-…
…Simulacrum Add .editorconfig This adds a .editorconfig file to rust-lang/rust, matching Clippy's. It's not clear that this will benefit many people, but the cost is low and the rewards are potentially meaningful.
Configuration menu - View commit details
-
Copy full SHA for aed63da - Browse repository at this point
Copy the full SHA aed63daView commit details -
Rollup merge of rust-lang#81455 - Amanieu:aarch64_ilp32, r=sanxiyn
Add AArch64 big-endian and ILP32 targets This PR adds 3 new AArch64 targets: - `aarch64_be-unknown-linux-gnu` - `aarch64-unknown-linux-gnu_ilp32` - `aarch64_be-unknown-linux-gnu_ilp32` It also fixes some ABI issues on big-endian ARM and AArch64.
Configuration menu - View commit details
-
Copy full SHA for a262bc1 - Browse repository at this point
Copy the full SHA a262bc1View commit details -
Rollup merge of rust-lang#81544 - JulianKnodt:sat_where, r=lcnr
Add better diagnostic for unbounded Abst. Const ~~In the case where a generic abst. const requires a trivial where bound: `where TypeWithConst<const_fn(N)>: ,`, instead of requiring a where bound, just check that only consts are being substituted in to skip over where check.~~ ~~This is pretty sketchy, but I think it works. Presumably, if there is checking for type bounds added later, it can first check nested requirements, and see if they're satisfied by the current `ParamEnv`.~~ Changed the diagnostic to add a better example, which is more practical than what was previously proposed. r? `@lcnr`
Configuration menu - View commit details
-
Copy full SHA for 7fa357d - Browse repository at this point
Copy the full SHA 7fa357dView commit details -
Rollup merge of rust-lang#81636 - LingMan:slice_not_vec, r=petrochenkov
Directly use `Option<&[T]>` instead of converting from `Option<&Vec<T>>` later on `@rustbot` modify labels +C-cleanup +T-compiler
Configuration menu - View commit details
-
Copy full SHA for 2a41f20 - Browse repository at this point
Copy the full SHA 2a41f20View commit details -
Rollup merge of rust-lang#81645 - m-ou-se:panic-lint, r=estebank
Add lint for `panic!(123)` which is not accepted in Rust 2021. This extends the `panic_fmt` lint to warn for all cases where the first argument cannot be interpreted as a format string, as will happen in Rust 2021. It suggests to add `"{}",` to format the message as a string. In the case of `std::panic!()`, it also suggests the recently stabilized `std::panic::panic_any()` function as an alternative. It renames the lint to `non_fmt_panic` to match the lint naming guidelines. ![image](https://user-images.githubusercontent.com/783247/106520928-675ea680-64d5-11eb-81f7-d8fa48b93a0b.png) This is part of rust-lang#80162. r? `@estebank`
Configuration menu - View commit details
-
Copy full SHA for 132f55c - Browse repository at this point
Copy the full SHA 132f55cView commit details -
Rollup merge of rust-lang#81655 - matsujika:suggest-accessing-field-r…
…ewording, r=estebank Improve wording of suggestion about accessing field Follow-up to rust-lang#81504 The compiler at this moment suggests "you might have meant to use field `b` of type `B`", sounding like it's type `B` which has the field `b`. r? `@estebank`
Configuration menu - View commit details
-
Copy full SHA for 0513708 - Browse repository at this point
Copy the full SHA 0513708View commit details -
Rollup merge of rust-lang#81665 - jacob-hughes:mir_doc_fix, r=estebank
Fix out of date `Scalar` documentation Scalars can represent integers up to `u128`, but the docs state otherwise.
Configuration menu - View commit details
-
Copy full SHA for ddf8dc7 - Browse repository at this point
Copy the full SHA ddf8dc7View commit details