]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-trait/diagnostics/fully-qualified-path-impl-trait.stderr
Auto merge of #95770 - nrc:read-buf-builder, r=joshtriplett
[rust.git] / src / test / ui / impl-trait / diagnostics / fully-qualified-path-impl-trait.stderr
1 error[E0282]: type annotations needed
2   --> $DIR/fully-qualified-path-impl-trait.rs:14:8
3    |
4 LL |     ().foo(|| ())
5    |        ^^^ cannot infer type for type parameter `T` declared on the trait `Foo`
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0282`.