-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 5 pull requests #126726
Rollup of 5 pull requests #126726
Commits on Jun 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a183989 - Browse repository at this point
Copy the full SHA a183989View commit details -
Configuration menu - View commit details
-
Copy full SHA for c20d909 - Browse repository at this point
Copy the full SHA c20d909View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b0f9ef - Browse repository at this point
Copy the full SHA 9b0f9efView commit details
Commits on Jun 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3594a19 - Browse repository at this point
Copy the full SHA 3594a19View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cb75dc - Browse repository at this point
Copy the full SHA 1cb75dcView commit details -
Const generic parameters aren't bounds, even if we end up erroring be…
…cause of the bound that binds the parameter's type
Configuration menu - View commit details
-
Copy full SHA for e4c9a8c - Browse repository at this point
Copy the full SHA e4c9a8cView commit details -
reword the hint::blackbox non-guarantees
People were tripped up by the "precludes", interpreting it that this function must not ever be used in cryptographic contexts rather than the std lib merely making zero promises about it being fit-for-purpose. What remains unchanged is that if someone does try to use it *despite the warnings* then it is on them to pin their compiler versions and verify the assembly of every single binary build they do.
Configuration menu - View commit details
-
Copy full SHA for 95e214d - Browse repository at this point
Copy the full SHA 95e214dView commit details -
Inline
can_begin_literal_maybe_minus
call into two places.It's clearer this way, because the `Interpolated` cases in `can_begin_const_arg` and `is_pat_range_end_start` are more permissive than the `Interpolated` cases in `can_begin_literal_maybe_minus`.
Configuration menu - View commit details
-
Copy full SHA for 7d9a92b - Browse repository at this point
Copy the full SHA 7d9a92bView commit details -
Introduce
can_begin_string_literal
.We currently use `can_begin_literal_maybe_minus` in a couple of places where only string literals are allowed. This commit introduces a more specific function, which makes things clearer. It doesn't change behaviour because the two functions affected (`is_unsafe_foreign_mod` and `check_keyword_case`) are always followed by a call to `parse_abi`, which checks again for a string literal.
Configuration menu - View commit details
-
Copy full SHA for c6f7827 - Browse repository at this point
Copy the full SHA c6f7827View commit details
Commits on Jun 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e8a9af9 - Browse repository at this point
Copy the full SHA e8a9af9View commit details -
Rollup merge of rust-lang#126620 - oli-obk:taint_errors, r=fee1-dead
Actually taint InferCtxt when a fulfillment error is emitted And avoid checking the global error counter fixes rust-lang#122044 fixes rust-lang#123255 fixes rust-lang#123276 fixes rust-lang#125799
Configuration menu - View commit details
-
Copy full SHA for e7be356 - Browse repository at this point
Copy the full SHA e7be356View commit details -
Rollup merge of rust-lang#126649 - compiler-errors:nightly, r=lcnr
Fix `feature = "nightly"` in the new trait solver r? lcnr
Configuration menu - View commit details
-
Copy full SHA for 8ddc892 - Browse repository at this point
Copy the full SHA 8ddc892View commit details -
Rollup merge of rust-lang#126652 - Manishearth:anon-const-scope, r=bj…
…orn3,Urgau Clarify that anonymous consts still do introduce a new scope See rust-lang#120363 (comment) This error message is misleading: it's trying to say that `const _ : () = ...` is a workaround for the lint, but by saying that anonymous constants are treated as being in the parent scope, it makes them appear useless for scope-hiding. They *are* useful for scope-hiding, they are simply treated as part of the parent scope when it comes to this lint.
Configuration menu - View commit details
-
Copy full SHA for 03d558f - Browse repository at this point
Copy the full SHA 03d558fView commit details -
Rollup merge of rust-lang#126703 - the8472:on-blackbox-crypto-use, r=…
…scottmcm reword the hint::blackbox non-guarantees People were tripped up by the "precludes", interpreting it that this function must not ever be used in cryptographic contexts rather than the std lib merely making zero promises about it being fit-for-purpose. What remains unchanged is that if someone does try to use it *despite the warnings* then it is on them to pin their compiler versions and verify the assembly of every single binary build they do.
Configuration menu - View commit details
-
Copy full SHA for af073e4 - Browse repository at this point
Copy the full SHA af073e4View commit details -
Rollup merge of rust-lang#126708 - nnethercote:minimize-can_begin_lit…
…eral_maybe_minus, r=compiler-errors Minimize `can_begin_literal_maybe_minus` usage `can_begin_literal_maybe_minus` is used in a few confusing ways. This PR makes them clearer. r? ``@spastorino``
Configuration menu - View commit details
-
Copy full SHA for c979535 - Browse repository at this point
Copy the full SHA c979535View commit details