]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-eval/issue-53401.rs
Merge commit '266e96785ab71834b917bf474f130a6d8fdecd4b' into sync_cg_clif-2022-10-23
[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 () {}