diff options
Diffstat (limited to 'src/test/ui/generic-associated-types/issue-86787.stderr')
-rw-r--r-- | src/test/ui/generic-associated-types/issue-86787.stderr | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/ui/generic-associated-types/issue-86787.stderr b/src/test/ui/generic-associated-types/issue-86787.stderr new file mode 100644 index 000000000..d4b2267d3 --- /dev/null +++ b/src/test/ui/generic-associated-types/issue-86787.stderr @@ -0,0 +1,13 @@ +error: missing required bound on `TRef` + --> $DIR/issue-86787.rs:11:5 + | +LL | type TRef<'a>; + | ^^^^^^^^^^^^^- + | | + | help: add the required where clause: `where Self: 'a` + | + = note: this bound is currently required to ensure that impls have maximum flexibility + = note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information + +error: aborting due to previous error + |