blob: 574e9870cd2f790ee0bd8a1bc39f14c1176c2901 [file] [log] [blame] [edit]
//@ edition: 2021
trait Has {
fn has() {}
}
trait HasNot {}
fn main() {
HasNot::has();
//~^ ERROR expected a type, found a trait
}