rust/tests/ui/associated-inherent-types/not-found-self-type-differs...

10 lines
346 B
Plaintext

error[E0223]: ambiguous associated type
--> $DIR/not-found-self-type-differs-shadowing-trait-item.rs:28:12
|
LL | let _: S::<bool>::Pr = ();
| ^^^^^^^^^^^^^ help: use fully-qualified syntax: `<S<bool> as Tr>::Pr`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0223`.