mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
acfd327fd4
Implement proper stability check for const impl Trait, fall back to unstable const when undeclared Continuation of #93960 `@jhpratt` it looks to me like the test was simply not testing for the failure you were looking for? Your checks actually do the right thing for const traits?
For more information about how rustc works, see the rustc dev guide.