]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/issue-104327.rs
Auto merge of #103600 - compiler-errors:early-binder-nits, r=spastorino
[rust.git] / src / test / ui / suggestions / issue-104327.rs
1 trait Bar {}
2
3 trait Foo {
4     fn f() {}
5 }
6
7 impl Foo for dyn Bar {}
8
9 fn main() {
10     Foo::f();
11     //~^ ERROR cannot call associated function on trait without specifying the corresponding `impl` type
12 }