summary refs log tree commit diff
path: root/src/test/ui/consts/const-eval/issue-53401.rs
blob: 89834aa94fc516ce6521d29fb2830562fff94634 (plain)
1
2
3
4
5
6
7
8
9
10
11
// compile-pass

pub const STATIC_TRAIT: &Test = &();

fn main() {}

pub trait Test {
    fn test() where Self: Sized {}
}

impl Test for () {}