]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-ui/ambiguous-inherent-assoc-ty.stderr
Rollup merge of #100130 - compiler-errors:erroneous-return-span, r=lcnr
[rust.git] / src / test / rustdoc-ui / ambiguous-inherent-assoc-ty.stderr
1 error[E0223]: ambiguous associated type
2   --> $DIR/ambiguous-inherent-assoc-ty.rs:11:27
3    |
4 LL |     pub const AssocConst: Self::AssocTy = 42;
5    |                           ^^^^^^^^^^^^^ help: use fully-qualified syntax: `<Struct as Trait>::AssocTy`
6
7 error[E0223]: ambiguous associated type
8   --> $DIR/ambiguous-inherent-assoc-ty.rs:11:27
9    |
10 LL |     pub const AssocConst: Self::AssocTy = 42;
11    |                           ^^^^^^^^^^^^^ help: use fully-qualified syntax: `<Struct as Trait>::AssocTy`
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0223`.