rust/tests/ui/resolve/issue-111312.rs

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

12 lines
109 B
Rust
Raw Normal View History

// edition: 2021
trait Has {
fn has() {}
}
trait HasNot {}
fn main() {
HasNot::has(); //~ ERROR
}