summaryrefslogtreecommitdiffstats
path: root/src/test/ui/rust-2018/edition-lint-infer-outlives-macro.stderr
blob: 553b1cd976ad6a114a10ce5dcc15770650ee10b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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