fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: outlives requirements can be inferred 2 --> $DIR/edition-lint-infer-outlives-macro.rs:27:18 3 | 4LL | struct Bar<'a, 'b: 'a> { 5 | ^^^^ help: remove this bound 6 | 7note: the lint level is defined here 8 --> $DIR/edition-lint-infer-outlives-macro.rs:5:9 9 | 10LL | #![deny(explicit_outlives_requirements)] 11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 12 13error: outlives requirements can be inferred 14 --> $DIR/edition-lint-infer-outlives-macro.rs:32:24 15 | 16LL | struct BarWhere<'a, 'b> where 'b: 'a { 17 | ^^^^^^^^^^^^^ help: remove this bound 18 19error: outlives requirements can be inferred 20 --> $DIR/edition-lint-infer-outlives-macro.rs:41:30 21 | 22LL | struct Foo<'a, 'b: 'a>(&'a &'b ()); 23 | ^^^^ help: remove this bound 24... 25LL | m!('b: 'a); 26 | ---------- in this macro invocation 27 | 28 = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info) 29 30error: outlives requirements can be inferred 31 --> $DIR/edition-lint-infer-outlives-macro.rs:43:44 32 | 33LL | struct Bar<'a, 'b>(&'a &'b ()) where 'b: 'a; 34 | ^^^^^^^^^^^^ help: remove this bound 35... 36LL | m!('b: 'a); 37 | ---------- in this macro invocation 38 | 39 = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info) 40 41error: outlives requirements can be inferred 42 --> $DIR/edition-lint-infer-outlives-macro.rs:45:61 43 | 44LL | struct Baz<'a, 'b>(&'a &'b ()) where (): Sized, 'b: 'a; 45 | ^^^^^^ help: remove this bound 46... 47LL | m!('b: 'a); 48 | ---------- in this macro invocation 49 | 50 = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info) 51 52error: outlives requirements can be inferred 53 --> $DIR/edition-lint-infer-outlives-macro.rs:55:30 54 | 55LL | struct Foo<'a, $b: 'a>(&'a &$b ()); 56 | ^^^^ help: remove this bound 57... 58LL | m!('b: 'a); 59 | ---------- in this macro invocation 60 | 61 = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info) 62 63error: outlives requirements can be inferred 64 --> $DIR/edition-lint-infer-outlives-macro.rs:57:44 65 | 66LL | struct Bar<'a, $b>(&'a &$b ()) where $b: 'a; 67 | ^^^^^^^^^^^^ help: remove this bound 68... 69LL | m!('b: 'a); 70 | ---------- in this macro invocation 71 | 72 = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info) 73 74error: outlives requirements can be inferred 75 --> $DIR/edition-lint-infer-outlives-macro.rs:59:61 76 | 77LL | struct Baz<'a, $b>(&'a &$b ()) where (): Sized, $b: 'a; 78 | ^^^^^^ help: remove this bound 79... 80LL | m!('b: 'a); 81 | ---------- in this macro invocation 82 | 83 = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info) 84 85error: outlives requirements can be inferred 86 --> $DIR/edition-lint-infer-outlives-macro.rs:114:31 87 | 88LL | struct Foo<$a, $b $colon $a>(&$a &$b ()); 89 | ^^^^^^^^^ help: remove this bound 90 91error: outlives requirements can be inferred 92 --> $DIR/edition-lint-infer-outlives-macro.rs:126:31 93 | 94LL | struct Foo<$a, $b $colon $a>(&$a &$b ()); 95 | ^^^^^^^^^ help: remove this bound 96 97error: outlives requirements can be inferred 98 --> $DIR/edition-lint-infer-outlives-macro.rs:128:50 99 | 100LL | struct Bar<$a, $b>(&$a &$b ()) where $b $colon $a; 101 | ^^^^^^^^^^^^ help: remove this bound 102 103error: outlives requirements can be inferred 104 --> $DIR/edition-lint-infer-outlives-macro.rs:130:61 105 | 106LL | struct Baz<$a, $b>(&$a &$b ()) where (): Sized, $b $colon $a; 107 | ^^^^^^^^^^^^ help: remove this bound 108 109error: aborting due to 12 previous errors 110