rust/tests/ui/rfcs/rfc-2632-const-trait-impl
Urgau 0c3f5cce89 Further cleanup cfgs in the UI test suite
This commit does three things:
 1. replaces (the last remaining) never true cfgs by the FALSE cfg
 2. fix derive-helper-configured.rs (typo in directive)
 3. and comment some current unused #[cfg_attr] (missing revisions)
2024-04-09 23:58:18 +02:00
..
auxiliary bless tests 2023-08-06 13:34:53 +00:00
const_derives Merge collect_mod_item_types query into check_well_formed 2024-03-07 14:26:31 +00:00
effects Bless test fallout (duplicate diagnostics) 2024-03-20 13:00:34 -04:00
specialization [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
assoc-type-const-bound-usage-0.qualified.stderr Allow ~const on assoc ty bounds again 2024-01-12 17:22:18 +01:00
assoc-type-const-bound-usage-0.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
assoc-type-const-bound-usage-1.qualified.stderr Allow ~const on assoc ty bounds again 2024-01-12 17:22:18 +01:00
assoc-type-const-bound-usage-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
assoc-type.rs Allow ~const on assoc ty bounds again 2024-01-12 17:22:18 +01:00
assoc-type.stderr Allow ~const on assoc ty bounds again 2024-01-12 17:22:18 +01:00
attr-misuse.rs
attr-misuse.stderr Merge attrs, better validation 2023-06-20 04:38:55 +00:00
call-const-trait-method-fail.rs bless tests 2023-08-06 13:34:53 +00:00
call-const-trait-method-fail.stderr Print constness in TraitPredPrintModifiersAndPath 2023-12-09 17:55:07 +00:00
call-const-trait-method-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
call-const-trait-method-pass.stderr Provide structured suggestion for #![feature(foo)] 2024-03-18 16:08:58 +00:00
call-generic-in-impl.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
call-generic-method-chain.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
call-generic-method-dup-bound.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
call-generic-method-fail.rs Restore const PartialEq 2023-12-10 09:30:07 +00:00
call-generic-method-fail.stderr Restore const PartialEq 2023-12-10 09:30:07 +00:00
call-generic-method-nonconst-bound.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
call-generic-method-nonconst.rs Pretty-print always-const trait predicates correctly 2024-01-01 14:02:42 +01:00
call-generic-method-nonconst.stderr Pretty-print always-const trait predicates correctly 2024-01-01 14:02:42 +01:00
call-generic-method-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
call.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
const-and-non-const-impl.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
const-and-non-const-impl.stderr bless tests 2023-08-06 13:34:53 +00:00
const-bound-on-not-const-associated-fn.rs Deny more ~const trait bounds 2023-11-12 00:00:12 +01:00
const-bound-on-not-const-associated-fn.stderr Add Span to TraitBoundModifier 2023-11-24 14:32:05 +00:00
const-bounds-non-const-trait.rs Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
const-bounds-non-const-trait.stderr Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
const-check-fns-in-const-impl.rs bless tests 2023-08-06 13:34:53 +00:00
const-check-fns-in-const-impl.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-closure-parse-not-item.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
const-closure-parse-not-item.stderr Bless test fallout (duplicate diagnostics) 2024-03-20 13:00:34 -04:00
const-closure-trait-method-fail.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
const-closure-trait-method-fail.stderr Provide structured suggestion for #![feature(foo)] 2024-03-18 16:08:58 +00:00
const-closure-trait-method.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
const-closure-trait-method.stderr Provide structured suggestion for #![feature(foo)] 2024-03-18 16:08:58 +00:00
const-closures.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
const-closures.stderr Provide structured suggestion for #![feature(foo)] 2024-03-18 16:08:58 +00:00
const-default-method-bodies.rs bless tests 2023-08-06 13:34:53 +00:00
const-default-method-bodies.stderr Print constness in TraitPredPrintModifiersAndPath 2023-12-09 17:55:07 +00:00
const-drop-bound.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
const-drop-bound.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-drop-fail-2.precise.stderr Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
const-drop-fail-2.rs Further cleanup cfgs in the UI test suite 2024-04-09 23:58:18 +02:00
const-drop-fail-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-drop-fail-2.stock.stderr Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
const-drop-fail.precise.stderr Always evaluate free constants and statics, even if previous errors occurred 2024-02-19 22:11:13 +00:00
const-drop-fail.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
const-drop-fail.stock.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-drop.precise.stderr Always evaluate free constants and statics, even if previous errors occurred 2024-02-19 22:11:13 +00:00
const-drop.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
const-drop.stock.stderr Always evaluate free constants and statics, even if previous errors occurred 2024-02-19 22:11:13 +00:00
const-fns-are-early-bound.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
const-impl-norecover.rs
const-impl-norecover.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-impl-recovery.rs
const-impl-recovery.stderr
const-impl-requires-const-trait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
const-impl-requires-const-trait.stderr Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
const-impl-trait.rs Stabilize associated type bounds 2024-03-08 20:56:25 +00:00
const-impl-trait.stderr Stabilize associated type bounds 2024-03-08 20:56:25 +00:00
const-trait-bounds-trait-objects.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
const-trait-bounds-trait-objects.stderr Don't synthesize host effect args inside trait object types 2024-01-03 09:25:27 +01:00
const-trait-bounds.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
cross-crate-default-method-body-is-const.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
cross-crate.gatednc.stderr Print constness in TraitPredPrintModifiersAndPath 2023-12-09 17:55:07 +00:00
cross-crate.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
cross-crate.stock.stderr Provide structured suggestion for #![feature(foo)] 2024-03-18 16:08:58 +00:00
cross-crate.stocknc.stderr Provide structured suggestion for #![feature(foo)] 2024-03-18 16:08:58 +00:00
default-method-body-is-const-body-checking.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
default-method-body-is-const-same-trait-ck.rs Effects: don't print host param in diagnostics 2023-07-29 14:55:35 +00:00
default-method-body-is-const-same-trait-ck.stderr Print constness in TraitPredPrintModifiersAndPath 2023-12-09 17:55:07 +00:00
default-method-body-is-const-with-staged-api.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
do-not-const-check-override.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
do-not-const-check.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate.gated.stderr Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
feature-gate.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate.stock.stderr Bless tests 2024-01-13 12:46:58 -05:00
function-pointer-does-not-require-const.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
gate.rs
gate.stderr Bless tests 2024-01-13 12:46:58 -05:00
generic-bound.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
generic-bound.stderr Provide structured suggestion for #![feature(foo)] 2024-03-18 16:08:58 +00:00
hir-const-check.rs bless tests 2023-08-06 13:34:53 +00:00
hir-const-check.stderr Bless tests 2024-01-13 12:46:58 -05:00
impl-tilde-const-trait.rs
impl-tilde-const-trait.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
impl-with-default-fn-fail.rs
impl-with-default-fn-fail.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
impl-with-default-fn-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
inherent-impl-const-bounds.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
inherent-impl.rs
inherent-impl.stderr
issue-79450.rs bless ui tests 2023-12-19 04:28:21 +00:00
issue-79450.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-88155.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-88155.stderr Provide structured suggestion for #![feature(foo)] 2024-03-18 16:08:58 +00:00
issue-92111.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-92111.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-92230-wf-super-trait-env.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-100222.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-102156.rs
issue-102156.stderr When failing to import core, suggest std 2023-11-22 19:30:47 +00:00
issue-102985.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-102985.stderr Provide structured suggestion for #![feature(foo)] 2024-03-18 16:08:58 +00:00
issue-103677.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
match-non-const-eq.gated.stderr Provide structured suggestion for #![feature(foo)] 2024-03-18 16:08:58 +00:00
match-non-const-eq.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
match-non-const-eq.stock.stderr Provide structured suggestion for #![feature(foo)] 2024-03-18 16:08:58 +00:00
mbe-bare-trait-objects-const-trait-bounds.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
mbe-const-trait-bound-theoretical-regression.rs Support async trait bounds in macros 2024-02-20 16:09:09 +00:00
mbe-const-trait-bound-theoretical-regression.stderr Support async trait bounds in macros 2024-02-20 16:09:09 +00:00
mbe-dyn-const-2015.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
mutually-exclusive-trait-bound-modifiers.rs Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
mutually-exclusive-trait-bound-modifiers.stderr Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
nested-closure.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
non-const-op-const-closure-non-const-outer.rs
non-const-op-const-closure-non-const-outer.stderr Provide structured suggestion for #![feature(foo)] 2024-03-18 16:08:58 +00:00
non-const-op-in-closure-in-const.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
non-const-op-in-closure-in-const.stderr Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
specializing-constness-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
specializing-constness-2.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
specializing-constness.rs bless tests 2023-08-06 13:34:53 +00:00
specializing-constness.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
staged-api-user-crate.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
staged-api-user-crate.stderr Provide structured suggestion for #![feature(foo)] 2024-03-18 16:08:58 +00:00
staged-api.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
staged-api.stable.stderr Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
staged-api.unstable.stderr Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
static-const-trait-bound.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
std-impl-gate.gated.stderr Provide structured suggestion for #![feature(foo)] 2024-03-18 16:08:58 +00:00
std-impl-gate.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
std-impl-gate.stock.stderr Provide structured suggestion for #![feature(foo)] 2024-03-18 16:08:58 +00:00
super-traits-fail-2.nn.stderr Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
super-traits-fail-2.ny.stderr Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
super-traits-fail-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
super-traits-fail-2.yn.stderr Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
super-traits-fail-2.yy.stderr Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
super-traits-fail-3.nn.stderr Merge collect_mod_item_types query into check_well_formed 2024-03-07 14:26:31 +00:00
super-traits-fail-3.ny.stderr Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
super-traits-fail-3.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
super-traits-fail-3.yn.stderr Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
super-traits-fail.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
super-traits.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
syntax.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
tilde-const-and-const-params.rs Validate ~const trait bounds on associated fns. 2023-09-30 19:00:45 -04:00
tilde-const-and-const-params.stderr Add Span to TraitBoundModifier 2023-11-24 14:32:05 +00:00
tilde-const-assoc-fn-in-trait-impl.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
tilde-const-inherent-assoc-const-fn.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
tilde-const-invalid-places.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
tilde-const-invalid-places.stderr Merge collect_mod_item_types query into check_well_formed 2024-03-07 14:26:31 +00:00
tilde-const-syntax.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
tilde-const-trait-assoc-tys.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
tilde-twice.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
tilde-twice.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
trait-default-body-stability.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
trait-default-body-stability.stderr bless ui tests 2023-12-19 04:28:21 +00:00
trait-method-ptr-in-consts-ice.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
trait-where-clause-const.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
trait-where-clause-const.stderr ~const trait or projection bounds do not imply non-const bounds 2024-01-08 15:01:14 +00:00
trait-where-clause-run.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
trait-where-clause-self-referential.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
trait-where-clause.rs Validate ~const trait bounds on associated fns. 2023-09-30 19:00:45 -04:00
trait-where-clause.stderr Add Span to TraitBoundModifier 2023-11-24 14:32:05 +00:00
unsatisfied-const-trait-bound.rs ~const trait or projection bounds do not imply non-const bounds 2024-01-08 15:01:14 +00:00
unsatisfied-const-trait-bound.stderr ~const trait or projection bounds do not imply non-const bounds 2024-01-08 15:01:14 +00:00