]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/issue-104327.rs
Rollup merge of #107116 - ozkanonur:consolidate-bootstrap-docs, r=jyn514
[rust.git] / tests / 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 }