diff options
Diffstat (limited to 'tests/ui/associated-types/issue-22037.stderr')
-rw-r--r-- | tests/ui/associated-types/issue-22037.stderr | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/ui/associated-types/issue-22037.stderr b/tests/ui/associated-types/issue-22037.stderr new file mode 100644 index 000000000..0e019f10f --- /dev/null +++ b/tests/ui/associated-types/issue-22037.stderr @@ -0,0 +1,14 @@ +error[E0576]: cannot find associated type `X` in trait `A` + --> $DIR/issue-22037.rs:3:33 + | +LL | type Output; + | ------------ associated type `Output` defined here +LL | fn a(&self) -> <Self as A>::X; + | ^ + | | + | not found in `A` + | help: maybe you meant this associated type: `Output` + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0576`. |