rust/tests/ui/generics
surechen 4ebbb5f048 Fix incorrect suggestion for undeclared hrtb lifetimes in where clauses.
fixes #122714
2024-05-20 20:28:57 +08:00
..
auxiliary Encode lifetime param spans too 2023-04-22 01:13:54 +00:00
autobind.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
bad-mid-path-type-params.rs diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
bad-mid-path-type-params.stderr diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
foreign-generic-mismatch.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
foreign-generic-mismatch.stderr Encode lifetime param spans too 2023-04-22 01:13:54 +00:00
generic-alias-unique.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
generic-arg-mismatch-recover.rs diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
generic-arg-mismatch-recover.stderr diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
generic-default-type-params-cross-crate.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
generic-default-type-params.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
generic-derived-type.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
generic-exterior-unique.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
generic-extern-lifetime.rs
generic-extern-lifetime.stderr
generic-extern-mangle.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
generic-extern.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
generic-extern.stderr Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
generic-fn-infer.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
generic-fn-twice.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
generic-fn-unique.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
generic-fn.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
generic-function-item-where-type.rs
generic-function-item-where-type.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
generic-higher-ranked-lifetime-issue-122714.rs Fix incorrect suggestion for undeclared hrtb lifetimes in where clauses. 2024-05-20 20:28:57 +08:00
generic-higher-ranked-lifetime-issue-122714.stderr Fix incorrect suggestion for undeclared hrtb lifetimes in where clauses. 2024-05-20 20:28:57 +08:00
generic-impl-less-params-with-defaults.rs diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
generic-impl-less-params-with-defaults.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
generic-impl-more-params-with-defaults.rs diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
generic-impl-more-params-with-defaults.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
generic-ivec-leak.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
generic-lifetime-trait-impl.rs
generic-lifetime-trait-impl.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
generic-newtype-struct.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
generic-no-mangle.fixed If suggestion would leave an empty line, delete it 2024-03-01 13:48:20 +00:00
generic-no-mangle.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
generic-no-mangle.stderr
generic-non-trailing-defaults.rs
generic-non-trailing-defaults.stderr
generic-object.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
generic-param-attrs.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
generic-recursive-tag.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
generic-static-methods.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
generic-tag-corruption.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
generic-tag-local.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
generic-tag-match.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
generic-tag-values.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
generic-tag.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
generic-temporary.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
generic-tup.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
generic-type-less-params-with-defaults.rs Test generic arg suggestion inside nested item 2024-03-17 23:40:12 +00:00
generic-type-less-params-with-defaults.stderr Test generic arg suggestion inside nested item 2024-03-17 23:40:12 +00:00
generic-type-more-params-with-defaults.rs diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
generic-type-more-params-with-defaults.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
generic-type-params-forward-mention.rs
generic-type-params-forward-mention.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
generic-type-params-name-repr.rs Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
generic-type-params-name-repr.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
generic-type-synonym.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
generic-type.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
generic-unique.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-333.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-1112.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-2936.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-32498.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-59508-1.rs
issue-59508-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-59508.fixed [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-59508.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-59508.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-61631-default-type-param-can-reference-self-in-trait.rs
issue-61631-default-type-param-can-reference-self-in-trait.stderr On E0277 be clearer about implicit `Sized` bounds on type params and assoc types 2024-02-01 03:30:26 +00:00
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 Introduce `ReError` 2023-02-09 10:26:49 +00:00
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 add UI test for #79605 2023-04-15 17:17:46 +05:30
issue-79605.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-80512-param-reordering-with-defaults.rs
issue-80512-param-reordering-with-defaults.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-83556.rs diagnostics: simpler 83556 handling by bailing out 2023-09-22 22:41:01 -07:00
issue-83556.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-94432-garbage-ice.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-94923.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-95208-ignore-qself.fixed [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-95208-ignore-qself.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-95208-ignore-qself.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-95208.fixed [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-95208.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-95208.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-98432.rs Generalize E0401 2023-09-10 23:06:14 +02:00
issue-98432.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-106694.rs
issue-106694.stderr
lifetime-before-type-params.rs
lifetime-before-type-params.stderr
mid-path-type-params.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
param-in-ct-in-ty-param-default.rs
param-in-ct-in-ty-param-default.stderr generic_const_exprs: suggest to add the feature, not use it 2023-11-30 20:59:51 +01:00
post_monomorphization_error_backtrace.rs preserve span when evaluating mir::ConstOperand 2024-03-14 21:55:07 +01:00
post_monomorphization_error_backtrace.stderr preserve span when evaluating mir::ConstOperand 2024-03-14 21:55:07 +01:00
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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
slightly-nice-generic-literal-messages.rs Move some UI tests into subdirectories 2023-04-02 19:42:30 -04:00
slightly-nice-generic-literal-messages.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
type-params-in-for-each.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
unclosed-generics-in-impl-def.rs Tweak unclosed generics errors 2023-12-01 20:01:39 +00:00
unclosed-generics-in-impl-def.stderr Tweak unclosed generics errors 2023-12-01 20:01:39 +00:00
wrong-number-of-args.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
wrong-number-of-args.stderr Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00