rust/tests/ui/const-generics/defaults
Lukas Bergdoll 506762f3ff Explicitly export core and std macros
Currently all core and std macros are automatically added to the prelude
via #[macro_use]. However a situation arose where we want to add a new macro
`assert_matches` but don't want to pull it into the standard prelude for
compatibility reasons. By explicitly exporting the macros found in the core and
std crates we get to decide on a per macro basis and can later add them via
the rust_20xx preludes.
2026-01-13 08:47:48 +01:00
..
auxiliary Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
complex-unord-param.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
const-param-as-default-value.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
const-param-in-ty-defaults.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
default-annotation.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
default-const-param-cannot-reference-self.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
default-const-param-cannot-reference-self.stderr Disentangle ForwardGenericParamBan and ConstParamTy ribs 2025-03-12 16:56:26 +00:00
default-on-impl.rs Fortify generic param default checks 2025-08-06 01:26:26 +02:00
default-on-impl.stderr Fortify generic param default checks 2025-08-06 01:26:26 +02:00
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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
generic-expr-default-concrete.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
generic-expr-default-mismatched-types.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
generic-expr-default-mismatched-types.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
generic-expr-default.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
generic-expr-default.stderr Provide structured suggestion for unconstrained generic constant 2024-03-21 00:03:59 +00:00
intermixed-lifetime.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
intermixed-lifetime.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
param-order-err-pretty-prints-default.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
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 export core and std macros 2026-01-13 08:47:48 +01: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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
rp_impl_trait_fail.rs Remove a has_errors check that only hides errors after unrelated items have errored. 2024-01-31 16:51:42 +00:00
rp_impl_trait_fail.stderr When more than a single impl and less than 4 could apply, point at them 2025-10-31 20:44:01 +00:00
self-referential.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self-referential.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
simple-defaults.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
trait_object_lt_defaults.rs Diagnose liveness on MIR. 2025-10-11 20:50:21 +00:00
trait_objects.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
trait_objects_fail.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait_objects_fail.stderr When a trait isn't implemented, but another similar impl is found, point at it: 2025-10-31 20:38:31 +00:00
type-default-const-param-name.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
wfness.rs Use the informative error as the main const eval error message 2025-06-02 15:37:15 +00:00
wfness.stderr When a trait isn't implemented, but another similar impl is found, point at it: 2025-10-31 20:38:31 +00:00
wrong-order.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wrong-order.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00