]> git.lizzy.rs Git - rust.git/blob - tests/ui/span/issue-29595.rs
Rollup merge of #106441 - mllken:abstract-socket-noref, r=joshtriplett
[rust.git] / tests / ui / span / issue-29595.rs
1 trait Tr {
2     const C: Self;
3 }
4
5 fn main() {
6     let a: u8 = Tr::C; //~ ERROR the trait bound `u8: Tr` is not satisfied
7 }