rust/tests/ui/const-generics/defaults
Matthias Krüger 2d9513b98c
Rollup merge of #142157 - Enselic:trivial-anon-const-use-cases, r=compiler-errors
rustc_resolve: Improve `resolve_const_param_in_non_trivial_anon_const` wording

In some contexts, const expressions are OK. Add a `here` to the error message to clarify this.

Closes rust-lang/rust#79429 which has 15 x 👍
2025-06-12 03:14:51 +02:00
..
auxiliary
complex-generic-default-expr.min.stderr rustc_resolve: Improve resolve_const_param_in_non_trivial_anon_const wording 2025-06-07 13:01:16 +02:00
complex-generic-default-expr.rs
complex-unord-param.rs
concrete-const-param-type.rs check types of const param default 2025-04-24 13:28:59 +00:00
concrete-const-param-type.stderr check types of const param default 2025-04-24 13:28:59 +00:00
const-default.rs
const-param-as-default-value.rs
const-param-in-ty-defaults.rs
default-annotation.rs
default-const-param-cannot-reference-self.rs
default-const-param-cannot-reference-self.stderr Disentangle ForwardGenericParamBan and ConstParamTy ribs 2025-03-12 16:56:26 +00:00
default-on-impl.rs
default-on-impl.stderr
default-param-wf-concrete.next.stderr const-eval error: always say in which item the error occurred 2025-06-07 13:42:30 +02:00
default-param-wf-concrete.old.stderr const-eval error: always say in which item the error occurred 2025-06-07 13:42:30 +02:00
default-param-wf-concrete.rs Use the informative error as the main const eval error message 2025-06-02 15:37:15 +00:00
doesnt_infer.rs Taint infcx when reporting errors 2024-06-19 04:41:56 +00:00
doesnt_infer.stderr fallout :skull_emoji: 2025-02-14 00:37:23 +01:00
external.rs
forward-declared.rs Disentangle ForwardGenericParamBan and ConstParamTy ribs 2025-03-12 16:56:26 +00:00
forward-declared.stderr Disentangle ForwardGenericParamBan and ConstParamTy ribs 2025-03-12 16:56:26 +00:00
generic-expr-default-concrete.rs
generic-expr-default-concrete.stderr
generic-expr-default-mismatched-types.rs
generic-expr-default-mismatched-types.stderr
generic-expr-default.rs
generic-expr-default.stderr Provide structured suggestion for unconstrained generic constant 2024-03-21 00:03:59 +00:00
intermixed-lifetime.rs
intermixed-lifetime.stderr
mismatch.rs compiletest: Make diagnostic kind mandatory on line annotations 2025-04-30 10:44:24 +03:00
mismatch.stderr compiletest: Make diagnostic kind mandatory on line annotations 2025-04-30 10:44:24 +03:00
mismatched_ty_const_in_trait_impl.rs Differentiate between methods and associated functions 2024-08-10 00:54:16 +00:00
mismatched_ty_const_in_trait_impl.stderr Differentiate between methods and associated functions 2024-08-10 00:54:16 +00:00
param-order-err-pretty-prints-default.rs
param-order-err-pretty-prints-default.stderr
pretty-printing-ast.rs Explicitly annotate edition for unpretty=expanded and unpretty=hir tests 2025-04-16 11:10:10 +02:00
pretty-printing-ast.stdout Explicitly annotate edition for unpretty=expanded and unpretty=hir tests 2025-04-16 11:10:10 +02:00
repr-c-issue-82792.rs Revert "Rollup merge of #125572 - mu001999-contrib:dead/enhance, r=pnkfelix" 2024-08-03 07:57:31 -04:00
rp_impl_trait.rs
rp_impl_trait_fail.rs
rp_impl_trait_fail.stderr Add trait diff highlighting logic and use it in E0277 2024-11-02 03:08:04 +00:00
self-referential.rs
self-referential.stderr
simple-defaults.rs
trait_object_lt_defaults.rs
trait_objects.rs
trait_objects_fail.rs
trait_objects_fail.stderr Add trait diff highlighting logic and use it in E0277 2024-11-02 03:08:04 +00:00
type-default-const-param-name.rs
wfness.rs Use the informative error as the main const eval error message 2025-06-02 15:37:15 +00:00
wfness.stderr const-eval error: always say in which item the error occurred 2025-06-07 13:42:30 +02:00
wrong-order.rs
wrong-order.stderr