rust/tests/ui/typeck
Matthias Krüger aa184c558f
Rollup merge of #122195 - jieyouxu:impl-return-note, r=fmease
Note that the caller chooses a type for type param

```
error[E0308]: mismatched types
  --> $DIR/return-impl-trait.rs:23:5
   |
LL | fn other_bounds<T>() -> T
   |                 -       -
   |                 |       |
   |                 |       expected `T` because of return type
   |                 |       help: consider using an impl return type: `impl Trait`
   |                 expected this type parameter
...
LL |     ()
   |     ^^ expected type parameter `T`, found `()`
   |
   = note: expected type parameter `T`
                   found unit type `()`
   = note: the caller chooses the type of T which can be different from ()
```

Tried to see if "expected this type parameter" can be replaced, but that goes all the way to `rustc_infer` so seems not worth the effort and can affect other diagnostics.

Revives #112088 and #104755.
2024-03-22 20:31:28 +01:00
..
auxiliary [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-87181 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-114918 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
apit-with-error-type-in-sig.rs
apit-with-error-type-in-sig.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
assign-non-lval-derefmut.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
assign-non-lval-derefmut.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
assign-non-lval-derefmut.stderr
assign-non-lval-mut-ref.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
assign-non-lval-mut-ref.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
assign-non-lval-mut-ref.stderr
assign-non-lval-needs-deref.rs
assign-non-lval-needs-deref.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
autoderef-with-param-env-error.rs
autoderef-with-param-env-error.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bad-index-due-to-nested.rs
bad-index-due-to-nested.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
bad-index-modulo-higher-ranked-regions.rs Don't ICE when ambiguity is found when selecting Index implementation in typeck 2023-11-20 23:37:04 +00:00
bad-index-modulo-higher-ranked-regions.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bad-recursive-type-sig-infer.rs
bad-recursive-type-sig-infer.stderr
bad-type-in-vec-contains.rs
bad-type-in-vec-contains.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bad-type-in-vec-push.rs
bad-type-in-vec-push.stderr
call-block.rs
call-block.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
check-args-on-fn-err-2.rs
check-args-on-fn-err-2.stderr
check-args-on-fn-err.rs
check-args-on-fn-err.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
conversion-methods.rs
conversion-methods.stderr
cyclic_type_ice.rs Continue reporting remaining errors instead of silently dropping them 2024-02-13 14:56:20 +00:00
cyclic_type_ice.stderr Continue reporting remaining errors instead of silently dropping them 2024-02-13 14:56:20 +00:00
deref-multi.rs
deref-multi.stderr
derive-sugg-arg-arity.rs
derive-sugg-arg-arity.stderr Use single label for method not found due to unmet bound 2024-01-26 20:47:19 +00:00
do-not-suggest-adding-missing-zero-to-floating-point-number.rs
do-not-suggest-adding-missing-zero-to-floating-point-number.stderr
do-not-suggest-placeholder-to-const-static-without-type.rs
do-not-suggest-placeholder-to-const-static-without-type.stderr
dont-record-adjustments-when-pointing-at-arg.rs
dont-record-adjustments-when-pointing-at-arg.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
escaping_bound_vars.rs make type_flags(ReError) & HAS_ERROR 2024-03-20 17:29:58 +00:00
escaping_bound_vars.stderr make type_flags(ReError) & HAS_ERROR 2024-03-20 17:29:58 +00:00
explain_clone_autoref.rs
explain_clone_autoref.stderr
ice-self-mismatch-const-generics.rs Pass the correct DefId when suggesting writing the aliased Self type out 2024-03-14 19:39:15 +00:00
ice-self-mismatch-const-generics.stderr Pass the correct DefId when suggesting writing the aliased Self type out 2024-03-14 19:39:15 +00:00
invalid-stashed-level-issue-121812.rs Handle stashing of delayed bugs. 2024-03-01 10:18:54 +11:00
invalid-stashed-level-issue-121812.stderr Handle stashing of delayed bugs. 2024-03-01 10:18:54 +11:00
issue-1871.rs
issue-1871.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-2063-resource.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-2063.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-7813.rs
issue-7813.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-10401.rs
issue-10401.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-10969.rs
issue-10969.stderr
issue-13853-2.rs
issue-13853-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-13853-5.rs Merge check_mod_impl_wf and check_mod_type_wf 2024-03-07 06:27:09 +00:00
issue-13853-5.stderr Merge check_mod_impl_wf and check_mod_type_wf 2024-03-07 06:27:09 +00:00
issue-13853.rs
issue-13853.stderr Note that type param is chosen by caller when suggesting return impl Trait 2024-03-16 23:20:42 +00:00
issue-16338.rs Move some tests 2024-02-09 15:43:08 -03:00
issue-16338.stderr Move some tests 2024-02-09 15:43:08 -03:00
issue-18937-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-18937.rs
issue-18937.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-22375.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-29124.rs
issue-29124.stderr
issue-29181.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-29181.stderr Move issue 29181, 2804, 17431, 66768 2023-08-24 20:44:08 +03:00
issue-31173.rs
issue-31173.stderr Use only one label for multiple unsatisfied bounds on type (typeck) 2024-01-26 20:47:19 +00:00
issue-33575.rs
issue-33575.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-36708.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-36708.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-43189.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-43189.stderr Tweak wording of "implemented trait isn't imported" suggestion 2024-02-22 18:05:27 +00:00
issue-46112.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-46112.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-50687-ice-on-borrow.rs
issue-50687-ice-on-borrow.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-52082-type-param-shadows-existing-type.rs
issue-52082-type-param-shadows-existing-type.stderr recover primary span label 2023-11-16 17:00:23 +00:00
issue-53712.rs
issue-53712.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-55810-must-typeck-match-pats-before-guards.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-57404.rs
issue-57404.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-57673-ice-on-deref-of-boxed-trait.rs
issue-57673-ice-on-deref-of-boxed-trait.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-61711-once-caused-rustc-inf-loop.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-65611.rs
issue-65611.stderr recover primary span label 2023-11-16 17:00:23 +00:00
issue-67971.rs
issue-67971.stderr recover primary span label 2023-11-16 17:00:23 +00:00
issue-68590-reborrow-through-derefmut.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-69378-ice-on-invalid-type-node-after-recovery.rs
issue-69378-ice-on-invalid-type-node-after-recovery.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-72225-call-fnmut-through-derefmut.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-73592-borrow_mut-through-deref.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-73592-borrow_mut-through-deref.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-73592-borrow_mut-through-deref.stderr
issue-74086.rs
issue-74086.stderr
issue-74933.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-75883.rs
issue-75883.stderr
issue-75889.rs
issue-75889.stderr
issue-79040.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
issue-79040.stderr Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
issue-80207-unsized-return.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-80779.rs
issue-80779.stderr
issue-81293.rs
issue-81293.stderr
issue-81885.rs
issue-81885.stderr
issue-81943.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-81943.stderr
issue-82772.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-82772.stderr
issue-83621-placeholder-static-in-extern.rs
issue-83621-placeholder-static-in-extern.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-83693.rs
issue-83693.stderr
issue-84160.rs
issue-84160.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-84768.rs
issue-84768.stderr
issue-84831.rs
issue-84831.stderr
issue-86721-return-expr-ice.rev1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-86721-return-expr-ice.rev2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-86721-return-expr-ice.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-87771-ice-assign-assign-to-bool.rs
issue-87771-ice-assign-assign-to-bool.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-87872-missing-inaccessible-field-literal.rs
issue-87872-missing-inaccessible-field-literal.stderr Tweak message on ADT with private fields building 2023-11-29 18:11:57 +00:00
issue-87872-missing-inaccessible-field-pattern.rs
issue-87872-missing-inaccessible-field-pattern.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-88609.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-88643.rs
issue-88643.stderr
issue-88803-call-expr-method.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-88803-call-expr-method.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-88803-call-expr-method.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-88844.rs
issue-88844.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-89044-wrapped-expr-method.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-89044-wrapped-expr-method.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-89044-wrapped-expr-method.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-89275.rs
issue-89275.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-89806.rs
issue-89806.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-89856.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-89856.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-89856.stderr
issue-89935.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-90027-async-fn-return-suggestion.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-90027-async-fn-return-suggestion.stderr Point to where missing return type should go 2023-10-04 21:09:54 +00:00
issue-90101.rs
issue-90101.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
issue-90164.rs
issue-90164.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-90319.rs
issue-90319.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-90483-inaccessible-field-adjustment.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-90483-inaccessible-field-adjustment.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-90804-incorrect-reference-suggestion.rs
issue-90804-incorrect-reference-suggestion.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-91210-ptr-method.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-91210-ptr-method.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-91210-ptr-method.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-91267.rs
issue-91267.stderr Make type_ascribe! not a built-in 2024-03-20 22:28:56 -04:00
issue-91328.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-91328.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-91328.stderr
issue-91334.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-91334.stderr
issue-91450-inner-ty-error.rs
issue-91450-inner-ty-error.stderr
issue-91633.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-92481.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-92481.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-93486.rs
issue-93486.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-96530.rs
issue-96530.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-96738.rs
issue-96738.stderr recover primary span label 2023-11-16 17:00:23 +00:00
issue-98260.rs
issue-98260.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-98982.rs Provide structured suggestion for type mismatch in loop 2023-11-22 19:56:53 +00:00
issue-98982.stderr Auto merge of #118072 - estebank:issue-98982, r=cjgillot 2023-12-03 18:57:49 +00:00
issue-100164.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-100164.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-100164.stderr
issue-100246.rs
issue-100246.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-100285.rs Provide structured suggestion for type mismatch in loop 2023-11-22 19:56:53 +00:00
issue-100285.stderr Auto merge of #118072 - estebank:issue-98982, r=cjgillot 2023-12-03 18:57:49 +00:00
issue-103899.rs Mark some next-solver-behavior tests explicitly with revisions 2024-03-10 23:23:46 -04:00
issue-104510-ice.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-104510-ice.stderr don't skip coercions for types with errors 2024-02-10 23:13:47 +01:00
issue-104513-ice.rs Split note, fix const/static impl trait error 2024-01-07 18:00:03 +00:00
issue-104513-ice.stderr Split note, fix const/static impl trait error 2024-01-07 18:00:03 +00:00
issue-104582.rs
issue-104582.stderr
issue-105946.rs
issue-105946.stderr Bless tests 2024-01-13 12:46:58 -05:00
issue-106929.rs
issue-106929.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-107087.rs
issue-107087.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-107775.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-107775.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-110017-format-into-help-deletes-macro.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-110017-format-into-help-deletes-macro.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-110017-format-into-help-deletes-macro.stderr
issue-110052.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
issue-110052.stderr Update test outputs 2023-12-22 11:01:07 -08:00
issue-112007-leaked-writeln-macro-internals.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-112007-leaked-writeln-macro-internals.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-112007-leaked-writeln-macro-internals.stderr
issue-112252-ptr-arithmetics-help.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-112252-ptr-arithmetics-help.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-112252-ptr-arithmetics-help.stderr Improve spans for indexing expressions 2023-08-04 13:17:39 +02:00
issue-112385-while-assign-lhs-place-expr-ice.rs
issue-112385-while-assign-lhs-place-expr-ice.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-114423-ice-regression-in-suggestion.rs Rename issue #114423 test files to include context 2023-08-05 09:04:47 +08:00
issue-114423-ice-regression-in-suggestion.stderr Rename issue #114423 test files to include context 2023-08-05 09:04:47 +08:00
issue-114529-illegal-break-with-value.rs Typeck break expr even if break is illegal 2023-11-20 15:14:08 +05:30
issue-114529-illegal-break-with-value.stderr Typeck break expr even if break is illegal 2023-11-20 15:14:08 +05:30
issue-116473-ice-wrong-span-variant-args.rs macro_rules: Preserve all metavariable spans in a global side table 2024-02-18 11:19:24 +03:00
issue-116473-ice-wrong-span-variant-args.stderr macro_rules: Preserve all metavariable spans in a global side table 2024-02-18 11:19:24 +03:00
issue-116864.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-120856.rs Loosen an assertion to account for stashed errors. 2024-02-10 09:14:59 +11:00
issue-120856.stderr Loosen an assertion to account for stashed errors. 2024-02-10 09:14:59 +11:00
method-chain-gats.rs Properly deal with GATs when looking for method chains to point at 2024-03-03 00:42:03 +01:00
method-chain-gats.stderr Properly deal with GATs when looking for method chains to point at 2024-03-03 00:42:03 +01:00
mismatched-map-under-self.rs
mismatched-map-under-self.stderr eagerly instantiate binders to avoid relying on sub 2024-03-14 17:19:40 +01:00
missing-private-fields-in-struct-literal.rs
missing-private-fields-in-struct-literal.stderr Tweak message on ADT with private fields building 2023-11-29 18:11:57 +00:00
no-type-for-node-ice.rs
no-type-for-node-ice.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
nonexistent-field-not-ambiguous.rs
nonexistent-field-not-ambiguous.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
output-type-mismatch.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
output-type-mismatch.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
path-to-method-sugg-unresolved-expr.rs
path-to-method-sugg-unresolved-expr.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
pin-unsound-issue-85099-derefmut.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
point-at-type-param-in-path-expr.rs
point-at-type-param-in-path-expr.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
point-at-type-parameter-definition.rs
point-at-type-parameter-definition.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
prim-with-args.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
prim-with-args.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
prim-with-args.stderr
project-cache-issue-37154.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
ptr-null-mutability-suggestions.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
ptr-null-mutability-suggestions.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
ptr-null-mutability-suggestions.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
quiet-type-err-let-binding.rs
quiet-type-err-let-binding.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
remove-extra-argument.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
remove-extra-argument.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
remove-extra-argument.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
repeat-expr-checks-wf.rs
repeat-expr-checks-wf.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
return_type_containing_closure.rs
return_type_containing_closure.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
return-dyn-type-mismatch-2.rs
return-dyn-type-mismatch-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
return-dyn-type-mismatch.rs
return-dyn-type-mismatch.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
slow-lhs-suggestion.rs
slow-lhs-suggestion.stderr
span-bug-issue-121410.rs Revert some span_bugs to span_delayed_bug. 2024-02-23 08:35:18 +11:00
span-bug-issue-121410.stderr Revert some span_bugs to span_delayed_bug. 2024-02-23 08:35:18 +11:00
struct-enum-wrong-args.rs
struct-enum-wrong-args.stderr
suggest-adding-missing-zero-to-floating-point-number.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-adding-missing-zero-to-floating-point-number.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-adding-missing-zero-to-floating-point-number.stderr
suggest-box-on-divergent-if-else-arms.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-box-on-divergent-if-else-arms.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-box-on-divergent-if-else-arms.stderr Suggest boxing both arms of if expr if that solves divergent arms involving impl Trait 2024-01-23 04:42:26 +00:00
suppressed-error.rs
suppressed-error.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
tag-that-dare-not-speak-its-name.rs
tag-that-dare-not-speak-its-name.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
terr-in-field.rs
terr-in-field.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
terr-sorts.rs
terr-sorts.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
type-placeholder-fn-in-const.rs
type-placeholder-fn-in-const.stderr Merge collect_mod_item_types query into check_well_formed 2024-03-07 14:26:31 +00:00
typeck_type_placeholder_1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
typeck_type_placeholder_item_help.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
typeck_type_placeholder_item_help.stderr Use the same collection order as check_mod_type_wf 2024-03-07 13:37:06 +00:00
typeck_type_placeholder_item.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
typeck_type_placeholder_item.stderr Provide structured suggestion for #![feature(foo)] 2024-03-18 16:08:58 +00:00
typeck_type_placeholder_lifetime_1.rs
typeck_type_placeholder_lifetime_1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
typeck_type_placeholder_lifetime_2.rs
typeck_type_placeholder_lifetime_2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
typeck_type_placeholder_mismatch.rs
typeck_type_placeholder_mismatch.stderr
typeck-builtin-bound-type-parameters.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
typeck-builtin-bound-type-parameters.stderr Merge collect_mod_item_types query into check_well_formed 2024-03-07 14:26:31 +00:00
typeck-cast-pointer-to-float.rs
typeck-cast-pointer-to-float.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
typeck-closure-to-unsafe-fn-ptr.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
typeck-default-trait-impl-assoc-type.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
typeck-default-trait-impl-assoc-type.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
typeck-default-trait-impl-assoc-type.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
typeck-default-trait-impl-cross-crate-coherence.rs Remove suspicious auto trait lint 2024-02-19 17:41:48 -03:00
typeck-default-trait-impl-cross-crate-coherence.stderr Remove suspicious auto trait lint 2024-02-19 17:41:48 -03:00
typeck-default-trait-impl-negation-send.rs
typeck-default-trait-impl-negation-send.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
typeck-default-trait-impl-negation-sync.rs
typeck-default-trait-impl-negation-sync.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
typeck-default-trait-impl-send-param.rs
typeck-default-trait-impl-send-param.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
typeck-fn-to-unsafe-fn-ptr.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
typeck-unsafe-always-share.rs
typeck-unsafe-always-share.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
ufcs-type-params.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unify-return-ty.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
while-loop-block-cond.rs
while-loop-block-cond.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
while-type-error.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
while-type-error.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
wrong-ret-type.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
wrong-ret-type.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00