]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-eval/issue-53401.rs
Merge commit 'c4416f20dcaec5d93077f72470e83e150fb923b1' into sync-rustfmt
[rust.git] / src / test / ui / consts / const-eval / issue-53401.rs
1 // check-pass
2
3 pub const STATIC_TRAIT: &dyn Test = &();
4
5 fn main() {}
6
7 pub trait Test {
8     fn test() where Self: Sized {}
9 }
10
11 impl Test for () {}