rust/tests/ui/type
Nilstrieb 3e34be004e
Rollup merge of #111602 - tmiasko:erroneous-constant-used, r=oli-obk
Suppress "erroneous constant used" for constants tainted by errors

When constant evaluation fails because its MIR is tainted by errors,
suppress note indicating that erroneous constant was used, since those
errors have to be fixed regardless of the constant being used or not.

Fixes #110891.
2023-05-16 11:39:39 +02:00
..
ascription soften the wording for removing type ascription 2023-05-01 16:37:00 +08:00
auxiliary
type-check More accurate argument blames, add some comments 2023-04-12 23:20:12 +00:00
binding-assigned-block-without-tail-expression.rs
binding-assigned-block-without-tail-expression.stderr
closure-with-wrong-borrows.rs
closure-with-wrong-borrows.stderr
issue-58355.rs
issue-58355.stderr Note base types of coercion 2023-05-12 00:10:52 +00:00
issue-67690-type-alias-bound-diagnostic-crash.rs
issue-67690-type-alias-bound-diagnostic-crash.stderr
issue-91268.rs
issue-91268.stderr
issue-94187-verbose-type-name.rs
issue-100584.rs
issue-100584.stderr
issue-101866.rs
issue-101866.stderr
issue-102598.rs
issue-102598.stderr
issue-103271.rs
issue-103271.stderr
missing-let-in-binding-2.fixed Suggest let for possible binding with ty 2023-05-08 10:56:20 +08:00
missing-let-in-binding-2.rs Suggest let for possible binding with ty 2023-05-08 10:56:20 +08:00
missing-let-in-binding-2.stderr Suggest let for possible binding with ty 2023-05-08 10:56:20 +08:00
missing-let-in-binding-3.rs fix ice in suggesting 2023-05-08 11:16:17 +08:00
missing-let-in-binding-3.stderr fix ice in suggesting 2023-05-08 11:16:17 +08:00
missing-let-in-binding-4.rs code refactor and fix wrong suggestion 2023-05-08 14:56:36 +08:00
missing-let-in-binding-4.stderr code refactor and fix wrong suggestion 2023-05-08 14:56:36 +08:00
missing-let-in-binding.fixed Rip it out 2023-05-01 16:15:13 +08:00
missing-let-in-binding.rs Rip it out 2023-05-01 16:15:13 +08:00
missing-let-in-binding.stderr Rip it out 2023-05-01 16:15:13 +08:00
type-alias-bounds.rs
type-alias-bounds.stderr
type-annotation-needed.rs
type-annotation-needed.stderr
type-arg-out-of-scope.rs
type-arg-out-of-scope.stderr
type-ascription-instead-of-initializer.rs
type-ascription-instead-of-initializer.stderr
type-ascription-instead-of-statement-end.rs Rip it out 2023-05-01 16:15:13 +08:00
type-ascription-instead-of-statement-end.stderr soften the wording for removing type ascription 2023-05-01 16:37:00 +08:00
type-ascription-precedence.rs fix test cases 2023-05-01 16:15:17 +08:00
type-ascription-precedence.stderr fix test cases 2023-05-01 16:15:17 +08:00
type-ascription-soundness.rs
type-ascription-soundness.stderr
type-ascription-with-fn-call.fixed Rip it out 2023-05-01 16:15:13 +08:00
type-ascription-with-fn-call.rs Rip it out 2023-05-01 16:15:13 +08:00
type-ascription-with-fn-call.stderr soften the wording for removing type ascription 2023-05-01 16:37:00 +08:00
type-ascription.rs
type-check-defaults.rs
type-check-defaults.stderr
type-dependent-def-issue-49241.rs Suppress "erroneous constant used" for constants tainted by errors 2023-05-15 00:00:00 +00:00
type-dependent-def-issue-49241.stderr Suppress "erroneous constant used" for constants tainted by errors 2023-05-15 00:00:00 +00:00
type-error-break-tail.rs
type-error-break-tail.stderr
type-mismatch-multiple.rs
type-mismatch-multiple.stderr
type-mismatch-same-crate-name.rs
type-mismatch-same-crate-name.stderr
type-mismatch.rs
type-mismatch.stderr Tweak borrow suggestion 2023-05-08 03:36:30 +00:00
type-parameter-defaults-referencing-Self-ppaux.rs
type-parameter-defaults-referencing-Self-ppaux.stderr
type-parameter-defaults-referencing-Self.rs
type-parameter-defaults-referencing-Self.stderr
type-parameter-names.rs
type-parameter-names.stderr
type-params-in-different-spaces-1.rs
type-params-in-different-spaces-1.stderr
type-params-in-different-spaces-2.rs
type-params-in-different-spaces-2.stderr
type-params-in-different-spaces-3.rs
type-params-in-different-spaces-3.stderr
type-path-err-node-types.rs
type-path-err-node-types.stderr refactor(resolve): clean up the early error return caused by non-call 2023-05-10 22:35:01 +08:00
type-recursive-box-shadowed.rs
type-recursive-box-shadowed.stderr
type-recursive.rs
type-recursive.stderr
type-shadow.rs
type-shadow.stderr
type-unsatisfiable.rs
type-unsatisfiable.usage.stderr Provide RHS type hint when reporting operator error 2023-04-27 01:34:03 +00:00
wrong-call-return-type-due-to-generic-arg.rs
wrong-call-return-type-due-to-generic-arg.stderr