rust/tests/ui/rfcs/rfc-2632-const-trait-impl
bors a04d56b36d Auto merge of #117817 - fmease:deny-more-tilde-const, r=fee1-dead
Deny more `~const` trait bounds

thereby fixing a family of ICEs (delayed bugs) for `feature(const_trait_impl, effects)` code.

As discussed
r? `@fee1-dead`
2023-11-12 04:40:44 +00:00
..
auxiliary bless tests 2023-08-06 13:34:53 +00:00
const_derives Fix ICE 2023-08-07 17:16:10 +00:00
effects Auto merge of #117817 - fmease:deny-more-tilde-const, r=fee1-dead 2023-11-12 04:40:44 +00:00
specialization Deny more ~const trait bounds 2023-11-12 00:00:12 +01:00
assoc-type-const-bound-usage.rs Remove constness from ImplSource::Param 2023-08-14 02:17:30 +00:00
assoc-type-const-bound-usage.stderr Deny more ~const trait bounds 2023-11-12 00:00:12 +01:00
assoc-type.rs
assoc-type.stderr Deny more ~const trait bounds 2023-11-12 00:00:12 +01:00
attr-misuse.rs
attr-misuse.stderr
call-const-trait-method-fail.rs bless tests 2023-08-06 13:34:53 +00:00
call-const-trait-method-fail.stderr Handle Self in paths too 2023-08-25 19:05:38 +00:00
call-const-trait-method-pass.rs
call-const-trait-method-pass.stderr bless tests 2023-08-06 13:34:53 +00:00
call-generic-in-impl.rs
call-generic-in-impl.stderr
call-generic-method-chain.rs
call-generic-method-chain.stderr bless tests 2023-08-06 13:34:53 +00:00
call-generic-method-dup-bound.rs
call-generic-method-dup-bound.stderr bless tests 2023-08-06 13:34:53 +00:00
call-generic-method-fail.rs Remove constness from ImplSource::Param 2023-08-14 02:17:30 +00:00
call-generic-method-nonconst-bound.rs
call-generic-method-nonconst.rs update tests, adding known-bug 2023-07-27 15:51:02 +00:00
call-generic-method-pass.rs
call-generic-method-pass.stderr bless tests 2023-08-06 13:34:53 +00:00
call.rs
const-and-non-const-impl.rs
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 Deny more ~const trait bounds 2023-11-12 00:00:12 +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
const-closure-parse-not-item.rs Enable effects for libcore 2023-09-20 03:02:14 +00:00
const-closure-parse-not-item.stderr Enable effects for libcore 2023-09-20 03:02:14 +00:00
const-closure-trait-method-fail.rs
const-closure-trait-method-fail.stderr Enable effects for libcore 2023-09-20 03:02:14 +00:00
const-closure-trait-method.rs Remove constness from TraitPredicate 2023-08-02 15:38:00 +00:00
const-closure-trait-method.stderr Enable effects for libcore 2023-09-20 03:02:14 +00:00
const-closures.rs Remove constness from TraitPredicate 2023-08-02 15:38:00 +00:00
const-closures.stderr Enable effects for libcore 2023-09-20 03:02:14 +00:00
const-default-method-bodies.rs bless tests 2023-08-06 13:34:53 +00:00
const-default-method-bodies.stderr bless tests 2023-08-06 13:34:53 +00:00
const-drop-bound.rs update tests, adding known-bug 2023-07-27 15:51:02 +00:00
const-drop-bound.stderr bless the known-bug tests 2023-09-20 03:02:14 +00:00
const-drop-fail-2.precise.stderr
const-drop-fail-2.rs bless tests 2023-08-06 13:34:53 +00:00
const-drop-fail-2.stderr bless the known-bug tests 2023-09-20 03:02:14 +00:00
const-drop-fail-2.stock.stderr
const-drop-fail.precise.stderr bless the known-bug tests 2023-09-20 03:02:14 +00:00
const-drop-fail.rs
const-drop-fail.stock.stderr bless the known-bug tests 2023-09-20 03:02:14 +00:00
const-drop.precise.stderr Deny more ~const trait bounds 2023-11-12 00:00:12 +01:00
const-drop.rs Deny more ~const trait bounds 2023-11-12 00:00:12 +01:00
const-drop.stock.stderr Deny more ~const trait bounds 2023-11-12 00:00:12 +01:00
const-impl-norecover.rs
const-impl-norecover.stderr
const-impl-recovery.rs
const-impl-recovery.stderr
const-impl-requires-const-trait.rs bless tests 2023-08-06 13:34:53 +00:00
const-impl-requires-const-trait.stderr Fix ICE 2023-08-07 17:16:10 +00:00
const-impl-trait.rs Stabilize AFIT and RPITIT 2023-10-13 21:01:36 +00:00
const-impl-trait.stderr Stabilize AFIT and RPITIT 2023-10-13 21:01:36 +00:00
cross-crate-default-method-body-is-const.rs
cross-crate.gatednc.stderr bless tests 2023-08-06 13:34:53 +00:00
cross-crate.rs bless tests 2023-08-06 13:34:53 +00:00
cross-crate.stock.stderr
cross-crate.stocknc.stderr update tests, adding known-bug 2023-07-27 15:51:02 +00:00
default-method-body-is-const-body-checking.rs Remove constness from TraitPredicate 2023-08-02 15:38:00 +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 bless tests 2023-08-06 13:34:53 +00:00
default-method-body-is-const-with-staged-api.rs Update since stability attributes in tests 2023-10-23 13:04:47 -07:00
do-not-const-check-override.rs bless tests 2023-08-06 13:34:53 +00:00
do-not-const-check.rs
feature-gate.gated.stderr
feature-gate.rs
feature-gate.stock.stderr
function-pointer-does-not-require-const.rs
gate.rs
gate.stderr
generic-bound.rs
generic-bound.stderr bless tests 2023-08-06 13:34:53 +00:00
hir-const-check.rs bless tests 2023-08-06 13:34:53 +00:00
hir-const-check.stderr
impl-tilde-const-trait.rs
impl-tilde-const-trait.stderr
impl-with-default-fn-fail.rs
impl-with-default-fn-fail.stderr
impl-with-default-fn-pass.rs
inherent-impl-const-bounds.rs
inherent-impl.rs
inherent-impl.stderr
issue-79450.rs
issue-79450.stderr
issue-88155.rs update tests, adding known-bug 2023-07-27 15:51:02 +00:00
issue-88155.stderr update tests, adding known-bug 2023-07-27 15:51:02 +00:00
issue-92111.rs update tests, adding known-bug 2023-07-27 15:51:02 +00:00
issue-92111.stderr bless the known-bug tests 2023-09-20 03:02:14 +00:00
issue-92230-wf-super-trait-env.rs
issue-100222.rs
issue-102156.rs
issue-102156.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
issue-102985.rs update tests, adding known-bug 2023-07-27 15:51:02 +00:00
issue-102985.stderr update tests, adding known-bug 2023-07-27 15:51:02 +00:00
issue-103677.rs
match-non-const-eq.gated.stderr update tests, adding known-bug 2023-07-27 15:51:02 +00:00
match-non-const-eq.rs update tests, adding known-bug 2023-07-27 15:51:02 +00:00
match-non-const-eq.stock.stderr update tests, adding known-bug 2023-07-27 15:51:02 +00:00
nested-closure.rs
non-const-op-const-closure-non-const-outer.rs
non-const-op-const-closure-non-const-outer.stderr
non-const-op-in-closure-in-const.rs
non-const-op-in-closure-in-const.stderr
specializing-constness-2.rs update tests, adding known-bug 2023-07-27 15:51:02 +00:00
specializing-constness-2.stderr update tests, adding known-bug 2023-07-27 15:51:02 +00:00
specializing-constness.rs bless tests 2023-08-06 13:34:53 +00:00
specializing-constness.stderr Remove constness from TraitPredicate 2023-08-02 15:38:00 +00:00
staged-api-user-crate.rs
staged-api-user-crate.stderr
staged-api.rs bless tests 2023-08-06 13:34:53 +00:00
staged-api.stable.stderr
staged-api.unstable.stderr
static-const-trait-bound.rs
std-impl-gate.gated.stderr
std-impl-gate.rs
std-impl-gate.stock.stderr
super-traits-fail-2.nn.stderr Deny more ~const trait bounds 2023-11-12 00:00:12 +01:00
super-traits-fail-2.ny.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
super-traits-fail-2.rs update tests, adding known-bug 2023-07-27 15:51:02 +00:00
super-traits-fail-2.yn.stderr Deny more ~const trait bounds 2023-11-12 00:00:12 +01:00
super-traits-fail-2.yy.stderr update tests, adding known-bug 2023-07-27 15:51:02 +00:00
super-traits-fail-3.nn.stderr Deny more ~const trait bounds 2023-11-12 00:00:12 +01:00
super-traits-fail-3.ny.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
super-traits-fail-3.rs Deny more ~const trait bounds 2023-11-12 00:00:12 +01:00
super-traits-fail-3.yn.stderr Deny more ~const trait bounds 2023-11-12 00:00:12 +01:00
super-traits-fail-3.yy.stderr Deny more ~const trait bounds 2023-11-12 00:00:12 +01:00
super-traits-fail.rs update tests, adding known-bug 2023-07-27 15:51:02 +00:00
super-traits.rs Remove constness from ImplSource::Param 2023-08-14 02:17:30 +00:00
syntax.rs
tilde_const_on_impl_bound.rs Remove constness from ImplSource::Param 2023-08-14 02:17:30 +00:00
tilde_const_on_impl_bound.stderr Remove constness from ImplSource::Param 2023-08-14 02:17:30 +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 Validate ~const trait bounds on associated fns. 2023-09-30 19:00:45 -04:00
tilde-const-invalid-places.rs Deny more ~const trait bounds 2023-11-12 00:00:12 +01:00
tilde-const-invalid-places.stderr Deny more ~const trait bounds 2023-11-12 00:00:12 +01:00
tilde-const-maybe-trait.rs Deny more ~const trait bounds 2023-11-12 00:00:12 +01:00
tilde-const-maybe-trait.stderr Deny more ~const trait bounds 2023-11-12 00:00:12 +01:00
tilde-const-syntax.rs
tilde-twice.rs
tilde-twice.stderr
trait-default-body-stability.rs
trait-default-body-stability.stderr bless tests 2023-08-06 13:34:53 +00:00
trait-method-ptr-in-consts-ice.rs
trait-where-clause-const.rs Remove constness from ImplSource::Param 2023-08-14 02:17:30 +00:00
trait-where-clause-const.stderr Duplicate ~const bounds with a non-const one in effects desugaring 2023-10-15 08:59:38 +00:00
trait-where-clause-run.rs Remove constness from ImplSource::Param 2023-08-14 02:17:30 +00:00
trait-where-clause-self-referential.rs Remove constness from ImplSource::Param 2023-08-14 02:17:30 +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 Validate ~const trait bounds on associated fns. 2023-09-30 19:00:45 -04:00
without-tilde.rs
without-tilde.stderr