7173fd78c6
(rather than issuing multiple errors) Also, reorder so that the annotations are considered "used" when the lint runs.
19 lines
659 B
Plaintext
19 lines
659 B
Plaintext
error: program clause dump
|
|
--> $DIR/lower_impl.rs:15:1
|
|
|
|
|
LL | #[rustc_dump_program_clauses] //~ ERROR program clause dump
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: Implemented(T: Foo) :- ProjectionEq(<T as std::iter::Iterator>::Item == i32), TypeOutlives(T : 'static), Implemented(T: std::iter::Iterator), Implemented(T: std::marker::Sized).
|
|
|
|
error: program clause dump
|
|
--> $DIR/lower_impl.rs:23:5
|
|
|
|
|
LL | #[rustc_dump_program_clauses] //~ ERROR program clause dump
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: Normalize(<T as Bar>::Assoc == std::vec::Vec<T>) :- Implemented(T: Bar).
|
|
|
|
error: aborting due to 2 previous errors
|
|
|