rust/tests/ui/underscore-lifetime
Esteban Küber 7d33094d3a Use structured suggestion when telling user about for<'a>
```
error[E0637]: `&` without an explicit lifetime name cannot be used here
  --> $DIR/E0637.rs:13:13
   |
LL |     T: Into<&u32>,
   |             ^ explicit lifetime name needed here
   |
help: consider introducing a higher-ranked lifetime here
   |
LL |     T: for<'a> Into<&'a u32>,
   |        +++++++       ++
```
2023-06-30 00:34:14 +00:00
..
dyn-trait-underscore-in-struct.rs
dyn-trait-underscore-in-struct.stderr
dyn-trait-underscore.rs
dyn-trait-underscore.stderr
in-binder.rs
in-binder.stderr
in-fn-return-illegal.rs
in-fn-return-illegal.stderr
in-struct.rs
in-struct.stderr
underscore-lifetime-binders.rs
underscore-lifetime-binders.stderr
underscore-lifetime-elison-mismatch.rs
underscore-lifetime-elison-mismatch.stderr
underscore-outlives-bounds.rs
underscore-outlives-bounds.stderr
where-clause-inherent-impl-ampersand-rust2015.fixed
where-clause-inherent-impl-ampersand-rust2015.rs
where-clause-inherent-impl-ampersand-rust2015.stderr
where-clause-inherent-impl-ampersand-rust2018.fixed
where-clause-inherent-impl-ampersand-rust2018.rs
where-clause-inherent-impl-ampersand-rust2018.stderr
where-clause-inherent-impl-underscore.rs
where-clause-inherent-impl-underscore.rust2015.stderr
where-clause-inherent-impl-underscore.rust2018.stderr
where-clause-trait-impl-region-2015.fixed
where-clause-trait-impl-region-2015.rs
where-clause-trait-impl-region-2015.stderr
where-clause-trait-impl-region-2018.fixed
where-clause-trait-impl-region-2018.rs
where-clause-trait-impl-region-2018.stderr
where-clause-trait-impl-underscore.rs
where-clause-trait-impl-underscore.rust2015.stderr
where-clause-trait-impl-underscore.rust2018.stderr
where-clauses.rs
where-clauses.stderr