-
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 9 pull requests #120903
Rollup of 9 pull requests #120903
Commits on Feb 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 87ea0d7 - Browse repository at this point
Copy the full SHA 87ea0d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4909258 - Browse repository at this point
Copy the full SHA 4909258View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8cc5084 - Browse repository at this point
Copy the full SHA 8cc5084View commit details
Commits on Feb 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1a0200e - Browse repository at this point
Copy the full SHA 1a0200eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e7941c - Browse repository at this point
Copy the full SHA 4e7941cView commit details
Commits on Feb 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 42c4f10 - Browse repository at this point
Copy the full SHA 42c4f10View commit details
Commits on Feb 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d96f0c3 - Browse repository at this point
Copy the full SHA d96f0c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5219af6 - Browse repository at this point
Copy the full SHA 5219af6View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa64c73 - Browse repository at this point
Copy the full SHA aa64c73View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bc490d - Browse repository at this point
Copy the full SHA 3bc490dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0815067 - Browse repository at this point
Copy the full SHA 0815067View commit details -
interpret/write_discriminant: when encoding niched variant, ensure th…
…e stored value matches
Configuration menu - View commit details
-
Copy full SHA for 18ed966 - Browse repository at this point
Copy the full SHA 18ed966View commit details -
Configuration menu - View commit details
-
Copy full SHA for d56f3b6 - Browse repository at this point
Copy the full SHA d56f3b6View commit details -
large_assignments: Allow moves into functions
Moves into functions are typically implemented with pointer passing rather than memcpy's at the llvm-ir level, so allow moves into functions.
Configuration menu - View commit details
-
Copy full SHA for e2979a8 - Browse repository at this point
Copy the full SHA e2979a8View commit details -
tests/ui/lint/large_assignments: only-x86_64 -> only-64bit
So that devs on aarch64 can also bless tests.
Configuration menu - View commit details
-
Copy full SHA for a4fbd01 - Browse repository at this point
Copy the full SHA a4fbd01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44616e1 - Browse repository at this point
Copy the full SHA 44616e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e59e66 - Browse repository at this point
Copy the full SHA 1e59e66View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd470e5 - Browse repository at this point
Copy the full SHA fd470e5View commit details -
don't skip coercions for types with errors
Lukas Markeffsky committedFeb 10, 2024 Configuration menu - View commit details
-
Copy full SHA for e330fe9 - Browse repository at this point
Copy the full SHA e330fe9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86ddb53 - Browse repository at this point
Copy the full SHA 86ddb53View commit details
Commits on Feb 11, 2024
-
Rollup merge of rust-lang#119213 - RalfJung:simd_shuffle, r=workingju…
…bilee simd intrinsics: add simd_shuffle_generic and other missing intrinsics Also tweak the simd_shuffle docs a bit. r? `@calebzulawski`
Configuration menu - View commit details
-
Copy full SHA for 5f9457c - Browse repository at this point
Copy the full SHA 5f9457cView commit details -
Rollup merge of rust-lang#120272 - long-long-float:suppress-suggestio…
…ns-in-derive-macro, r=oli-obk Suppress suggestions in derive macro close rust-lang#118809 I suppress warnings inside derive macros. For example, the compiler emits following error by a program described in rust-lang#118809 (comment) with a suggestion that indicates invalid syntax. ``` error[E0308]: `?` operator has incompatible types --> src/main.rs:3:17 | 3 | #[derive(Debug, Deserialize)] | ^^^^^^^^^^^ expected `u32`, found `u64` | = note: `?` operator cannot convert from `u64` to `u32` = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit | 3 | #[derive(Debug, Deserialize.try_into().unwrap())] | ++++++++++++++++++++ For more information about this error, try `rustc --explain E0308`. error: could not compile `serde_test` (bin "serde_test") due to 2 previous errors ``` In this PR, suggestions to cast are suppressed. ``` error[E0308]: `?` operator has incompatible types --> src/main.rs:3:17 | 3 | #[derive(Debug, Deserialize)] | ^^^^^^^^^^^ expected `u32`, found `u64` | = note: `?` operator cannot convert from `u64` to `u32` = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) For more information about this error, try `rustc --explain E0308`. error: could not compile `serde_test` (bin "serde_test") due to 2 previous errors ```
Configuration menu - View commit details
-
Copy full SHA for e525bc9 - Browse repository at this point
Copy the full SHA e525bc9View commit details -
Rollup merge of rust-lang#120773 - Enselic:copy-vs-move, r=oli-obk
large_assignments: Allow moves into functions Moves into functions are typically implemented with pointer passing rather than memcpy's at the llvm-ir level, so allow moves into functions. Part of the "Differentiate between Operand::Move and Operand::Copy" step of rust-lang#83518. r? `@oli-obk` (who I think is still E-mentor?)
Configuration menu - View commit details
-
Copy full SHA for fd287d2 - Browse repository at this point
Copy the full SHA fd287d2View commit details -
Rollup merge of rust-lang#120874 - gurry:120838-extra-where-in-sugges…
…tion, r=fmease Take empty `where` bounds into account when suggesting predicates Fixes rust-lang#120838
Configuration menu - View commit details
-
Copy full SHA for 0171057 - Browse repository at this point
Copy the full SHA 0171057View commit details -
Rollup merge of rust-lang#120882 - RalfJung:set-discriminant, r=compi…
…ler-errors interpret/write_discriminant: when encoding niched variant, ensure the stored value matches Cc rust-lang/unsafe-code-guidelines#487
Configuration menu - View commit details
-
Copy full SHA for e82e087 - Browse repository at this point
Copy the full SHA e82e087View commit details -
Rollup merge of rust-lang#120883 - RalfJung:extern-static-err, r=oli-obk
interpret: rename ReadExternStatic → ExternStatic This error shows up for reads and writes, so `ReadExternStatic` is misleading.
Configuration menu - View commit details
-
Copy full SHA for 09bbcd6 - Browse repository at this point
Copy the full SHA 09bbcd6View commit details -
Rollup merge of rust-lang#120890 - TimNN:relax-patches-check, r=onur-…
…ozkan Adapt `llvm-has-rust-patches` validation to take `llvm-config` into account. This adapts an assertion that was added in rust-lang#119556. The current assertion does not take the `llvm-config` setting into accounts, which does not match the `llvm-has-rust-patches` documentation, which states: > This would be used in conjunction with either an llvm-config or build.submodules = false. (It also breaks my workflow: I build LLVM separately, but do have the rust patches applied). --- **edit:** Originally this PR just removed the assertion, but it now implements the alternative mentioned here: An alternative fix would be to take `llvm-config` into account in the assertion, but to me the assertion seems to provide little value, thus the simpler fix of just removing it. cc `@onur-ozkan,` in case I'm missing a reason to keep the assertion.
Configuration menu - View commit details
-
Copy full SHA for 955cbdf - Browse repository at this point
Copy the full SHA 955cbdfView commit details -
Rollup merge of rust-lang#120895 - lukas-code:error-coercions-ice, r=…
…compiler-errors don't skip coercions for types with errors fixes rust-lang#120884
Configuration menu - View commit details
-
Copy full SHA for 302301b - Browse repository at this point
Copy the full SHA 302301bView commit details -
Rollup merge of rust-lang#120896 - compiler-errors:coro-closure-kind,…
… r=oli-obk Print kind of coroutine closure Make sure that we print "async closure" when we have an async closure, rather than calling it generically a ["coroutine-closure"](rust-lang#120361). Fixes rust-lang#120886 r? oli-obk
Configuration menu - View commit details
-
Copy full SHA for 870435b - Browse repository at this point
Copy the full SHA 870435bView commit details