rust/src/test/ui/polymorphization
bors 3f091baba4 Auto merge of #75260 - davidtwco:polymorphization-promoted-substs, r=lcnr
polymorphize: unevaluated constants

This PR makes polymorphization visit the promoted MIR of unevaluated constants with available promoted MIR instead of visiting the substitutions of that constant - which will mark all of the generic parameters as used; in addition polymorphization will now visit non-promoted unevaluated constants rather than visit their substs.

r? @lcnr
2020-08-08 15:57:12 +00:00
..
closure_in_upvar instance: polymorphize upvar closures/generators 2020-08-07 18:41:39 +01:00
const_parameters sess: disable polymorphisation 2020-07-22 15:36:24 +01:00
drop_shims sess: disable polymorphisation 2020-07-22 15:36:24 +01:00
type_parameters sess: disable polymorphisation 2020-07-22 15:36:24 +01:00
generators.rs sess: disable polymorphisation 2020-07-22 15:36:24 +01:00
generators.stderr sess: disable polymorphisation 2020-07-22 15:36:24 +01:00
issue-74636.rs interp: needs_subst -> ensure_monomorphic_enough 2020-07-31 16:36:42 +01:00
lifetimes.rs sess: disable polymorphisation 2020-07-22 15:36:24 +01:00
lifetimes.stderr sess: disable polymorphisation 2020-07-22 15:36:24 +01:00
normalized_sig_types.rs sess: disable polymorphisation 2020-07-22 15:36:24 +01:00
predicates.rs sess: disable polymorphisation 2020-07-22 15:36:24 +01:00
predicates.stderr sess: disable polymorphisation 2020-07-22 15:36:24 +01:00
promoted-function-1.rs polymorphize: visit promoted MIR 2020-08-07 15:59:29 +01:00
promoted-function-1.stderr polymorphize: visit promoted MIR 2020-08-07 15:59:29 +01:00
promoted-function-2.rs polymorphize: non-promoted unevaluated constants 2020-08-07 17:07:25 +01:00
promoted-function-2.stderr polymorphize: non-promoted unevaluated constants 2020-08-07 17:07:25 +01:00
promoted-function.rs polymorphize: visit promoted MIR 2020-08-07 15:59:29 +01:00
too-many-generic-params.rs index: introduce and use FiniteBitSet 2020-07-20 19:35:37 +01:00
unsized_cast.rs polymorphize: visit promoted MIR 2020-08-07 15:59:29 +01:00
unsized_cast.stderr polymorphize: visit promoted MIR 2020-08-07 15:59:29 +01:00