@@ -819,5 +819,61 @@ LL - union BeeWhereAyTeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U:
819
819
LL + union BeeWhereAyTeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U: Debug, {
820
820
|
821
821
822
- error: aborting due to 68 previous errors
822
+ error: outlives requirements can be inferred
823
+ --> $DIR/edition-lint-infer-outlives-multispan.rs:372:38
824
+ |
825
+ LL | struct Inline<'a, $($name: 'a,)+>(&'a ($($name,)+));
826
+ | ^^^^ help: remove these bounds
827
+ ...
828
+ LL | m!(T0 T1 T2 T3 T4 T5 T6 T7 T8 T9 T10 T11 T12 T13 T14 T15);
829
+ | --------------------------------------------------------- in this macro invocation
830
+ |
831
+ = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)
832
+
833
+ error: outlives requirements can be inferred
834
+ --> $DIR/edition-lint-infer-outlives-multispan.rs:374:64
835
+ |
836
+ LL | struct FullWhere<'a, $($name,)+>(&'a ($($name,)+)) where $($name: 'a,)+;
837
+ | ^^^^^^^^^^^^^^^^^^ help: remove these bounds
838
+ ...
839
+ LL | m!(T0 T1 T2 T3 T4 T5 T6 T7 T8 T9 T10 T11 T12 T13 T14 T15);
840
+ | --------------------------------------------------------- in this macro invocation
841
+ |
842
+ = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)
843
+
844
+ error: outlives requirements can be inferred
845
+ --> $DIR/edition-lint-infer-outlives-multispan.rs:376:86
846
+ |
847
+ LL | struct PartialWhere<'a, $($name,)+>(&'a ($($name,)+)) where (): Sized, $($name: 'a,)+;
848
+ | ^^^^^^^^^ help: remove these bounds
849
+ ...
850
+ LL | m!(T0 T1 T2 T3 T4 T5 T6 T7 T8 T9 T10 T11 T12 T13 T14 T15);
851
+ | --------------------------------------------------------- in this macro invocation
852
+ |
853
+ = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)
854
+
855
+ error: outlives requirements can be inferred
856
+ --> $DIR/edition-lint-infer-outlives-multispan.rs:381:19
857
+ |
858
+ LL | $($name: 'a, $name: 'a, )+
859
+ | ^^^^^^^^^ ^^^^^^^^^
860
+ LL | $($name: 'a, $name: 'a, )+;
861
+ | ^^^^^^^^^ ^^^^^^^^^
862
+ ...
863
+ LL | m!(T0 T1 T2 T3 T4 T5 T6 T7 T8 T9 T10 T11 T12 T13 T14 T15);
864
+ | ---------------------------------------------------------
865
+ | |
866
+ | in this macro invocation
867
+ | in this macro invocation
868
+ | in this macro invocation
869
+ | in this macro invocation
870
+ |
871
+ = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)
872
+ help: remove these bounds
873
+ |
874
+ LL ~ $(, , )+
875
+ LL ~ $(, , )+;
876
+ |
877
+
878
+ error: aborting due to 72 previous errors
823
879
0 commit comments