blob: 3561db354c03f81f7a047cf6d8731381e65c89d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
error[E0220]: associated type `Pr` not found for `S<bool>` in the current scope
--> $DIR/not-found-self-type-differs-shadowing-trait-item.rs:28:23
|
LL | struct S<T>(T);
| ----------- associated item `Pr` not found for this struct
...
LL | let _: S::<bool>::Pr = ();
| ^^ associated item not found in `S<bool>`
|
= note: the associated type was found for
- `S<()>`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0220`.
|