os-rust/tests/ui/rfcs/rfc-2632-const-trait-impl
León Orell Valerian Liehr 8bce6fc35e
Rollup merge of #119505 - fmease:no-host-param-for-trait-fns, r=fee1-dead
Don't synthesize host effect params for trait associated functions marked const

Fixes #113378.

r? fee1-dead or compiler
2024-01-03 16:08:30 +01:00
..
auxiliary bless tests 2023-08-06 13:34:53 +00:00
const_derives fix tests 2023-12-10 10:42:34 +00:00
effects E0379: Provide suggestions 2024-01-02 13:49:48 +01:00
specialization Show number in error message even for one error 2023-11-24 19:15:52 +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 Add Span to TraitBoundModifier 2023-11-24 14:32:05 +00:00
assoc-type.rs Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
assoc-type.stderr Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
attr-misuse.rs Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
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 Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
call-const-trait-method-pass.stderr bless ui tests 2023-12-19 04:28:21 +00:00
call-generic-in-impl.rs Restore const PartialEq 2023-12-10 09:30:07 +00:00
call-generic-method-chain.rs Restore const PartialEq 2023-12-10 09:30:07 +00:00
call-generic-method-dup-bound.rs Restore const PartialEq 2023-12-10 09:30:07 +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 Better group RFC ui tests together 2023-06-05 16:09:46 +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 Restore const PartialEq 2023-12-10 09:30:07 +00:00
call.rs bless ui tests 2023-12-19 04:28:21 +00:00
const-and-non-const-impl.rs Better group RFC ui tests together 2023-06-05 16:09:46 +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 Enable effects for libcore 2023-09-20 03:02:14 +00:00
const-closure-parse-not-item.stderr Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
const-closure-trait-method-fail.rs Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
const-closure-trait-method-fail.stderr Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
const-closure-trait-method.rs Remove constness from TraitPredicate 2023-08-02 15:38:00 +00:00
const-closure-trait-method.stderr Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
const-closures.rs Remove constness from TraitPredicate 2023-08-02 15:38:00 +00:00
const-closures.stderr Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01: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 update tests, adding known-bug 2023-07-27 15:51:02 +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 bless tests 2023-08-06 13:34:53 +00: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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-drop-fail.rs Better group RFC ui tests together 2023-06-05 16:09:46 +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 Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
const-drop.rs Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
const-drop.stock.stderr Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
const-impl-norecover.rs Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
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 Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
const-impl-recovery.stderr Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
const-impl-requires-const-trait.rs bless tests 2023-08-06 13:34:53 +00:00
const-impl-requires-const-trait.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-impl-trait.rs Restore const PartialEq 2023-12-10 09:30:07 +00:00
const-impl-trait.stderr fix tests 2023-12-10 10:42:34 +00:00
const-trait-bounds-trait-objects.rs Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
const-trait-bounds-trait-objects.stderr Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
const-trait-bounds.rs Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
cross-crate-default-method-body-is-const.rs bless ui tests 2023-12-19 04:28:21 +00:00
cross-crate.gatednc.stderr Print constness in TraitPredPrintModifiersAndPath 2023-12-09 17:55:07 +00:00
cross-crate.rs bless tests 2023-08-06 13:34:53 +00:00
cross-crate.stock.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
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 Print constness in TraitPredPrintModifiersAndPath 2023-12-09 17:55:07 +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 Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
feature-gate.gated.stderr Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
feature-gate.rs Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
feature-gate.stock.stderr Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
function-pointer-does-not-require-const.rs Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
gate.rs Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
gate.stderr Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
generic-bound.rs Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
generic-bound.stderr bless ui tests 2023-12-19 04:28:21 +00:00
hir-const-check.rs bless tests 2023-08-06 13:34:53 +00:00
hir-const-check.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
impl-tilde-const-trait.rs Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
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 Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
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 Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
inherent-impl-const-bounds.rs Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
inherent-impl.rs Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
inherent-impl.stderr Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
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 update tests, adding known-bug 2023-07-27 15:51:02 +00:00
issue-88155.stderr bless ui tests 2023-12-19 04:28:21 +00:00
issue-92111.rs update tests, adding known-bug 2023-07-27 15:51:02 +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 Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
issue-100222.rs Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
issue-102156.rs Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
issue-102156.stderr When failing to import core, suggest std 2023-11-22 19:30:47 +00:00
issue-102985.rs update tests, adding known-bug 2023-07-27 15:51:02 +00:00
issue-102985.stderr bless ui tests 2023-12-19 04:28:21 +00:00
issue-103677.rs Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
match-non-const-eq.gated.stderr bless ui tests 2023-12-19 04:28:21 +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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
mbe-bare-trait-objects-const-trait-bounds.rs Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
mbe-const-trait-bound-theoretical-regression.rs Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
mbe-const-trait-bound-theoretical-regression.stderr Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
mbe-dyn-const-2015.rs Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01: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 Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
non-const-op-const-closure-non-const-outer.rs Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
non-const-op-const-closure-non-const-outer.stderr bless ui tests 2023-12-19 04:28:21 +00:00
non-const-op-in-closure-in-const.rs Better group RFC ui tests together 2023-06-05 16:09:46 +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 bless ui tests 2023-12-19 04:28:21 +00:00
specializing-constness-2.stderr bless ui tests 2023-12-19 04:28:21 +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 Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
staged-api-user-crate.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
staged-api.rs bless tests 2023-08-06 13:34:53 +00:00
staged-api.stable.stderr Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
staged-api.unstable.stderr Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
static-const-trait-bound.rs Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
std-impl-gate.gated.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
std-impl-gate.rs Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
std-impl-gate.stock.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
super-traits-fail-2.nn.stderr Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
super-traits-fail-2.ny.stderr Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
super-traits-fail-2.rs Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
super-traits-fail-2.yn.stderr bless ui tests 2023-12-19 04:28:21 +00:00
super-traits-fail-2.yy.stderr bless ui tests 2023-12-19 04:28:21 +00:00
super-traits-fail-3.nn.stderr Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
super-traits-fail-3.ny.stderr Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
super-traits-fail-3.rs Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
super-traits-fail-3.yn.stderr Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +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 Better group RFC ui tests together 2023-06-05 16:09:46 +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-invalid-places.rs Deny ~const trait bounds in inherent impl headers 2023-12-18 01:48:49 +01:00
tilde-const-invalid-places.stderr Deny ~const trait bounds in inherent impl headers 2023-12-18 01:48:49 +01:00
tilde-const-syntax.rs Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
tilde-twice.rs Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
tilde-twice.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
tilde_const_on_impl_bound.rs Deny ~const trait bounds in inherent impl headers 2023-12-18 01:48:49 +01:00
trait-default-body-stability.rs bless ui tests 2023-12-19 04:28:21 +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 Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
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 Add Span to TraitBoundModifier 2023-11-24 14:32:05 +00:00
unsatisfied-const-trait-bound.rs Pretty-print always-const trait predicates correctly 2024-01-01 14:02:42 +01:00
unsatisfied-const-trait-bound.stderr Pretty-print always-const trait predicates correctly 2024-01-01 14:02:42 +01:00