You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of rust-lang#126726 - matthiaskrgr:rollup-ppe8ve3, r=matthiaskrgr
Rollup of 5 pull requests
Successful merges:
- rust-lang#126620 (Actually taint InferCtxt when a fulfillment error is emitted)
- rust-lang#126649 (Fix `feature = "nightly"` in the new trait solver)
- rust-lang#126652 (Clarify that anonymous consts still do introduce a new scope)
- rust-lang#126703 (reword the hint::blackbox non-guarantees)
- rust-lang#126708 (Minimize `can_begin_literal_maybe_minus` usage)
r? `@ghost`
`@rustbot` modify labels: rollup
.with_trait = an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
551
551
.bounds = `impl` may be usable in bounds, etc. from outside the expression, which might e.g. make something constructible that previously wasn't, because it's still on a publicly-visible type
552
552
.doctest = make this doc-test a standalone test with its own `fn main() {"{"} ... {"}"}`
553
-
.exception = items in an anonymous const item (`const _: () = {"{"} ... {"}"}`) are treated as in the same scope as the anonymous const's declaration
553
+
.exception = items in an anonymous const item (`const _: () = {"{"} ... {"}"}`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
554
554
.const_anon = use a const-anon item to suppress this lint
555
555
.macro_to_change = the {$macro_kind} `{$macro_to_change}` defines the non-local `impl`, and may need to be changed
0 commit comments