rust/tests/ui/span/issue-29595.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
122 B
Rust
Raw Normal View History

2017-03-10 16:06:07 -06:00
trait Tr {
const C: Self;
}
fn main() {
let a: u8 = Tr::C; //~ ERROR the trait bound `u8: Tr` is not satisfied
}