rust/tests/ui/error-codes/E0437.rs

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

9 lines
88 B
Rust
Raw Normal View History

2016-08-18 05:45:10 +08:00
trait Foo {}
impl Foo for i32 {
type Bar = bool; //~ ERROR E0437
}
fn main () {
}