Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
suggestions
/
issue-104328.rs
blob: 2b0fbdb8d35bbbc41c31bb2c8a5d7a145c3fac0a [
file
] [
log
] [
blame
] [
edit
]
#![
feature
(
dyn_compatible_for_dispatch
)]
trait
Foo
{
fn
f
()
{}
}
impl
Foo
for
dyn
Sized
{}
fn
main
()
{
Foo
::
f
();
//~^ ERROR cannot call associated function on trait without specifying the corresponding `impl` type
}