summaryrefslogtreecommitdiffstats
path: root/src/test/ui/span/issue-29595.rs
blob: 87d7c4cfdf93f068176c955c03ef40000b5cc4d0 (plain)
1
2
3
4
5
6
7
trait Tr {
    const C: Self;
}

fn main() {
    let a: u8 = Tr::C; //~ ERROR the trait bound `u8: Tr` is not satisfied
}