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

9 lines
88 B
Rust

trait Foo {}
impl Foo for i32 {
type Bar = bool; //~ ERROR E0437
}
fn main () {
}