rust/tests/ui/traits/impl-for-module.rs
2023-01-11 09:32:08 +00:00

12 lines
94 B
Rust

mod a {
}
trait A {
}
impl A for a { //~ ERROR expected type, found module
}
fn main() {
}