]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-eval/issue-53401.rs
Merge commit '0eff589afc83e21a03a168497bbab6b4dfbb4ef6' into clippyup
[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 () {}