diff options
Diffstat (limited to 'src/test/ui/associated-types/issue-22037.stderr')
-rw-r--r-- | src/test/ui/associated-types/issue-22037.stderr | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/ui/associated-types/issue-22037.stderr b/src/test/ui/associated-types/issue-22037.stderr new file mode 100644 index 000000000..0e019f10f --- /dev/null +++ b/src/test/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`. |