Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
resolve
/
issue-111312.rs
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
}