rust/tests/ui/rfc-2632-const-trait-impl
Matthew Jasper bd928a0b5e Disallow (min) specialization imps with no items
Such implementations are usually mistakes and are not used in the
compiler or standard library (after this commit) so forbid them with
`min_specialization`.
2023-05-05 16:19:18 +01:00
..
auxiliary
const_derives fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
specialization Disallow (min) specialization imps with no items 2023-05-05 16:19:18 +01:00
assoc-type-const-bound-usage.rs
assoc-type.rs fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
assoc-type.stderr fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
attr-misuse.rs
attr-misuse.stderr
call-const-trait-method-fail.rs
call-const-trait-method-fail.stderr
call-const-trait-method-pass.rs fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
call-const-trait-method-pass.stderr fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
call-generic-in-impl.rs fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
call-generic-in-impl.stderr fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
call-generic-method-chain.rs fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
call-generic-method-chain.stderr fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
call-generic-method-dup-bound.rs fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
call-generic-method-dup-bound.stderr fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
call-generic-method-fail.rs fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
call-generic-method-fail.stderr fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
call-generic-method-nonconst-bound.rs
call-generic-method-nonconst.rs
call-generic-method-nonconst.stderr Move const trait bounds checks to MIR constck 2023-03-28 08:39:55 +00:00
call-generic-method-pass.rs fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
call-generic-method-pass.stderr fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
call.rs
const-and-non-const-impl.rs fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
const-and-non-const-impl.stderr fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
const-check-fns-in-const-impl.rs
const-check-fns-in-const-impl.stderr
const-closure-parse-not-item.rs
const-closure-trait-method-fail.rs fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
const-closure-trait-method-fail.stderr fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
const-closure-trait-method.rs
const-closures.rs fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
const-default-method-bodies.rs
const-default-method-bodies.stderr
const-drop-bound.rs
const-drop-fail-2.precise.stderr fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
const-drop-fail-2.rs fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
const-drop-fail-2.stderr fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
const-drop-fail-2.stock.stderr fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
const-drop-fail.precise.stderr fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
const-drop-fail.rs fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
const-drop-fail.stock.stderr fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
const-drop.rs
const-impl-norecover.rs
const-impl-norecover.stderr
const-impl-recovery.rs
const-impl-recovery.stderr
const-impl-requires-const-trait.rs
const-impl-requires-const-trait.stderr
const-impl-trait.rs fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
const-impl-trait.stderr fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
cross-crate-default-method-body-is-const.rs
cross-crate.gatednc.stderr
cross-crate.rs
cross-crate.stock.stderr
cross-crate.stocknc.stderr
default-method-body-is-const-body-checking.rs
default-method-body-is-const-body-checking.stderr Move const trait bounds checks to MIR constck 2023-03-28 08:39:55 +00:00
default-method-body-is-const-same-trait-ck.rs
default-method-body-is-const-same-trait-ck.stderr
default-method-body-is-const-with-staged-api.rs
do-not-const-check-override.rs
do-not-const-check.rs
feature-gate.gated.stderr
feature-gate.rs
feature-gate.stock.stderr
function-pointer-does-not-require-const.rs Move const trait bounds checks to MIR constck 2023-03-28 08:39:55 +00:00
gate.rs Gate const closures even when they appear in macros 2023-03-11 21:29:28 +00:00
gate.stderr Gate const closures even when they appear in macros 2023-03-11 21:29:28 +00:00
generic-bound.rs fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
generic-bound.stderr fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
hir-const-check.rs
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
issue-88155.stderr
issue-90052.rs
issue-90052.stderr
issue-92111.rs
issue-92230-wf-super-trait-env.rs
issue-100222.rs
issue-102156.rs
issue-102156.stderr
issue-102985.rs
issue-102985.stderr
issue-103677.rs
nested-closure.rs Stabilize a portion of 'once_cell' 2023-03-29 18:04:44 -04:00
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 fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
non-const-op-in-closure-in-const.stderr fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
specializing-constness-2.rs
specializing-constness-2.stderr
specializing-constness.rs fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
specializing-constness.stderr fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
staged-api-user-crate.rs
staged-api-user-crate.stderr
staged-api.rs
staged-api.stable.stderr
staged-api.unstable.stderr
static-const-trait-bound.rs
std-impl-gate.gated.stderr fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
std-impl-gate.rs fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
std-impl-gate.stock.stderr
super-traits-fail-2.nn.stderr Don't use implied trait predicates in gather_explicit_predicates_of 2023-05-01 15:45:28 +00:00
super-traits-fail-2.ny.stderr Don't use implied trait predicates in gather_explicit_predicates_of 2023-05-01 15:45:28 +00:00
super-traits-fail-2.rs Don't use implied trait predicates in gather_explicit_predicates_of 2023-05-01 15:45:28 +00:00
super-traits-fail-2.yn.stderr Don't use implied trait predicates in gather_explicit_predicates_of 2023-05-01 15:45:28 +00:00
super-traits-fail-2.yy.stderr Don't use implied trait predicates in gather_explicit_predicates_of 2023-05-01 15:45:28 +00:00
super-traits-fail-3.nn.stderr Don't use implied trait predicates in gather_explicit_predicates_of 2023-05-01 15:45:28 +00:00
super-traits-fail-3.ny.stderr Don't use implied trait predicates in gather_explicit_predicates_of 2023-05-01 15:45:28 +00:00
super-traits-fail-3.rs Don't use implied trait predicates in gather_explicit_predicates_of 2023-05-01 15:45:28 +00:00
super-traits-fail-3.yn.stderr Don't use implied trait predicates in gather_explicit_predicates_of 2023-05-01 15:45:28 +00:00
super-traits-fail.rs
super-traits-fail.stderr
super-traits.rs
syntax.rs
tilde_const_on_impl_bound.rs
tilde-const-and-const-params.rs
tilde-const-and-const-params.stderr
tilde-const-invalid-places.rs
tilde-const-invalid-places.stderr
tilde-const-syntax.rs
tilde-twice.rs
tilde-twice.stderr
trait-default-body-stability.rs fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
trait-default-body-stability.stderr fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
trait-method-ptr-in-consts-ice.rs fix ICE 2023-04-08 10:18:48 +00:00
trait-where-clause-const.rs
trait-where-clause-const.stderr
trait-where-clause-run.rs
trait-where-clause-self-referential.rs
trait-where-clause.rs
trait-where-clause.stderr
without-tilde.rs
without-tilde.stderr