9 lines
88 B
Rust
Raw Normal View History

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