summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfc-2093-infer-outlives/nested-regions.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/rfc-2093-infer-outlives/nested-regions.stderr')
-rw-r--r--tests/ui/rfc-2093-infer-outlives/nested-regions.stderr12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ui/rfc-2093-infer-outlives/nested-regions.stderr b/tests/ui/rfc-2093-infer-outlives/nested-regions.stderr
new file mode 100644
index 000000000..c08add7ed
--- /dev/null
+++ b/tests/ui/rfc-2093-infer-outlives/nested-regions.stderr
@@ -0,0 +1,12 @@
+error: rustc_outlives
+ --> $DIR/nested-regions.rs:4:1
+ |
+LL | struct Foo<'a, 'b, T> {
+ | ^^^^^^^^^^^^^^^^^^^^^
+ |
+ = note: 'b: 'a
+ = note: T: 'a
+ = note: T: 'b
+
+error: aborting due to previous error
+