Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
resolve
/
issue-111312.rs
blob: 79c6f67dadd39bcfdf5ddea7271fe7f49b0457b7 [
file
] [
log
] [
blame
]
//@ edition: 2021
trait
Has
{
fn
has
()
{}
}
trait
HasNot
{}
fn
main
()
{
HasNot
::
has
();
//~^ ERROR trait objects must include the `dyn` keyword
//~| ERROR no function or associated item named `has` found for trait `HasNot`
}