summaryrefslogtreecommitdiffstats
path: root/src/test/ui/rust-2018/edition-lint-infer-outlives-macro.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/rust-2018/edition-lint-infer-outlives-macro.stderr')
-rw-r--r--src/test/ui/rust-2018/edition-lint-infer-outlives-macro.stderr14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/ui/rust-2018/edition-lint-infer-outlives-macro.stderr b/src/test/ui/rust-2018/edition-lint-infer-outlives-macro.stderr
new file mode 100644
index 000000000..553b1cd97
--- /dev/null
+++ b/src/test/ui/rust-2018/edition-lint-infer-outlives-macro.stderr
@@ -0,0 +1,14 @@
+error: outlives requirements can be inferred
+ --> $DIR/edition-lint-infer-outlives-macro.rs:23:18
+ |
+LL | struct Bar<'a, 'b: 'a> {
+ | ^^^^ help: remove this bound
+ |
+note: the lint level is defined here
+ --> $DIR/edition-lint-infer-outlives-macro.rs:8:9
+ |
+LL | #![deny(explicit_outlives_requirements)]
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+error: aborting due to previous error
+