rust/tests/ui/generics
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
..
auxiliary
autobind.rs
bad-mid-path-type-params.rs
bad-mid-path-type-params.stderr
foreign-generic-mismatch.rs
foreign-generic-mismatch.stderr
generic-alias-unique.rs
generic-arg-mismatch-recover.rs
generic-arg-mismatch-recover.stderr
generic-default-type-params-cross-crate.rs
generic-default-type-params.rs
generic-derived-type.rs
generic-exterior-unique.rs
generic-extern-lifetime.rs
generic-extern-lifetime.stderr
generic-extern-mangle.rs
generic-extern.rs
generic-extern.stderr
generic-fn-infer.rs
generic-fn-twice.rs
generic-fn-unique.rs
generic-fn.rs
generic-function-item-where-type.rs
generic-function-item-where-type.stderr
generic-impl-less-params-with-defaults.rs
generic-impl-less-params-with-defaults.stderr
generic-impl-more-params-with-defaults.rs
generic-impl-more-params-with-defaults.stderr
generic-ivec-leak.rs
generic-lifetime-trait-impl.rs
generic-lifetime-trait-impl.stderr
generic-newtype-struct.rs
generic-no-mangle.fixed
generic-no-mangle.rs
generic-no-mangle.stderr
generic-non-trailing-defaults.rs
generic-non-trailing-defaults.stderr
generic-object.rs
generic-param-attrs.rs
generic-recursive-tag.rs
generic-static-methods.rs
generic-tag-corruption.rs
generic-tag-local.rs
generic-tag-match.rs
generic-tag-values.rs
generic-tag.rs
generic-temporary.rs
generic-tup.rs
generic-type-less-params-with-defaults.rs
generic-type-less-params-with-defaults.stderr
generic-type-more-params-with-defaults.rs
generic-type-more-params-with-defaults.stderr
generic-type-params-forward-mention.rs
generic-type-params-forward-mention.stderr
generic-type-params-name-repr.rs
generic-type-params-name-repr.stderr
generic-type-synonym.rs
generic-type.rs
generic-unique.rs
issue-333.rs
issue-1112.rs
issue-2936.rs
issue-32498.rs
issue-59508-1.rs
issue-59508-1.stderr
issue-59508.fixed
issue-59508.rs
issue-59508.stderr
issue-61631-default-type-param-can-reference-self-in-trait.rs
issue-61631-default-type-param-can-reference-self-in-trait.stderr
issue-61631-default-type-param-cannot-reference-self.rs
issue-61631-default-type-param-cannot-reference-self.stderr
issue-65285-incorrect-explicit-lifetime-name-needed.rs
issue-65285-incorrect-explicit-lifetime-name-needed.stderr Use structured suggestion when telling user about for<'a> 2023-06-30 00:34:14 +00:00
issue-79605.rs
issue-79605.stderr
issue-80512-param-reordering-with-defaults.rs
issue-80512-param-reordering-with-defaults.stderr
issue-94432-garbage-ice.rs
issue-94923.rs
issue-95208-ignore-qself.fixed
issue-95208-ignore-qself.rs
issue-95208-ignore-qself.stderr
issue-95208.fixed
issue-95208.rs
issue-95208.stderr
issue-98432.rs
issue-98432.stderr
issue-106694.rs
issue-106694.stderr
lifetime-before-type-params.rs
lifetime-before-type-params.stderr
mid-path-type-params.rs
param-in-ct-in-ty-param-default.rs
param-in-ct-in-ty-param-default.stderr
post_monomorphization_error_backtrace.rs Adjust UI tests for unit_bindings 2023-06-12 20:24:48 +08:00
post_monomorphization_error_backtrace.stderr
single-colon-path-not-const-generics.rs Rip it out 2023-05-01 16:15:13 +08:00
single-colon-path-not-const-generics.stderr soften the wording for removing type ascription 2023-05-01 16:37:00 +08:00
slightly-nice-generic-literal-messages.rs
slightly-nice-generic-literal-messages.stderr
type-params-in-for-each.rs
wrong-number-of-args.rs
wrong-number-of-args.stderr