rust/compiler/rustc_middle/src/ty
bors 136eaa1b25 Auto merge of #87375 - fee1-dead:move-constness-to-traitpred, r=oli-obk
Try filtering out non-const impls when we expect const impls

**TL;DR**: Associated types on const impls are now bounded; we now disallow calling a const function with bounds when the specified type param only has a non-const impl.

r? `@oli-obk`
2021-08-14 12:06:34 +00:00
..
consts adjustions and cleanup to make Miri build again 2021-07-15 17:14:11 +02:00
inhabitedness Implement Debug for DefIdForest 2021-01-16 17:56:32 -05:00
print move Constness into TraitPredicate 2021-08-13 09:26:33 +00:00
_match.rs Add variance-related information to lifetime error messages 2021-06-06 12:37:42 -05:00
adjustment.rs Add some backticks to the rustc_middle::ty::adjustment::Adjustment docs 2021-05-24 15:47:28 -07:00
adt.rs Moved all Adt* types to adt.rs 2021-03-10 14:32:14 -08:00
assoc.rs handle the case when container is not impl 2021-08-13 09:28:50 +00:00
binding.rs words 2020-11-16 22:42:09 +01:00
cast.rs Use rustc_type_ir::{IntTy,UintTy,FloatTy} instead of the rustc_ast` ones in types 2021-01-18 21:09:23 +01:00
closure.rs Auto merge of #85020 - lrh2000:named-upvars, r=tmandry 2021-08-14 07:01:36 +00:00
codec.rs clippy::needless_question_mark 2021-07-25 12:19:33 +02:00
consts.rs Update with comments 2021-03-23 17:16:20 +00:00
context.rs move Constness into TraitPredicate 2021-08-13 09:26:33 +00:00
diagnostics.rs Do not discard ?Sized type params and suggest their removal 2021-07-30 08:44:31 -07:00
erase_regions.rs Auto merge of #83207 - oli-obk:valtree2, r=lcnr 2021-04-02 10:28:12 +00:00
error.rs move Constness into TraitPredicate 2021-08-13 09:26:33 +00:00
fast_reject.rs Use rustc_type_ir::{IntTy,UintTy,FloatTy} instead of the rustc_ast` ones in types 2021-01-18 21:09:23 +01:00
flags.rs move Constness into TraitPredicate 2021-08-13 09:26:33 +00:00
fold.rs Remove ty::Binder::bind() 2021-07-03 01:12:32 +09:00
generics.rs Do not suggest impl traits as type arguments 2021-08-03 20:05:50 +09:00
instance.rs Support forwarding caller location through trait object method call 2021-06-04 12:24:12 -05:00
layout.rs Add c_enum_min_bits to target spec 2021-08-12 09:44:16 -07:00
list.rs Don't create references to uninitialized data in List::from_arena 2021-07-19 10:47:45 +02:00
mod.rs Auto merge of #87375 - fee1-dead:move-constness-to-traitpred, r=oli-obk 2021-08-14 12:06:34 +00:00
normalize_erasing_regions.rs Update compiler/rustc_middle/src/ty/normalize_erasing_regions.rs 2021-07-04 12:37:25 -04:00
outlives.rs Address comments 2020-10-14 00:17:42 -04:00
query.rs Remove deadlock virtual call. 2021-07-18 11:14:08 +02:00
relate.rs Relate impl 2021-08-13 09:28:50 +00:00
structural_impls.rs move Constness into TraitPredicate 2021-08-13 09:26:33 +00:00
sty.rs move Constness into TraitPredicate 2021-08-13 09:26:33 +00:00
subst.rs Fix typo 2021-05-26 19:19:47 +02:00
trait_def.rs Rename all_crate_nums query to crates and remove useless wrapper 2021-07-01 16:51:11 +02:00
util.rs Bail on any found recursion when expanding opaque types 2021-07-28 14:21:59 +02:00
vtable.rs Add comment and more tests. 2021-07-22 23:29:53 +08:00
walk.rs extract ConstKind::Unevaluated into a struct 2021-03-20 17:21:44 +01:00