rust/compiler/rustc_mir/src/borrow_check
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
..
constraints Add variance-related information to lifetime error messages 2021-06-06 12:37:42 -05:00
diagnostics Avoid ICE caused by suggestion 2021-08-12 10:24:01 +00:00
region_infer Mir borrowck does not generate lifetime variables for 'static lifetimes during opaque type resolution 2021-07-26 16:35:32 +00:00
type_check Try to fix problem 2021-08-13 09:28:50 +00:00
borrow_set.rs Use Option::map_or instead of .map(..).unwrap_or(..) 2021-01-14 19:23:59 +01:00
constraint_generation.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
def_use.rs Remove unused PlaceContext::NonUse(NonUseContext::Coverage) 2020-09-09 17:02:19 +02:00
facts.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
invalidation.rs Rollup merge of #83916 - Amanieu:asm_anonconst, r=petrochenkov 2021-04-07 13:07:14 +02:00
location.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
member_constraints.rs Removing unhandled region constraint error that is only for impl_trait_in_bindings 2021-07-18 09:30:09 -03:00
mod.rs Store the DefId of the currently typechecked item in InferCtxt 2021-08-06 10:39:23 +00:00
nll.rs Remove ResolvedOpaqueTy and just use Ty, SubstsRef is already there 2021-06-07 19:07:07 -03:00
path_utils.rs Fix incorrect use mut diagnostics 2021-01-29 15:37:44 -05:00
place_ext.rs Change ty.kind to a method 2020-09-04 17:47:51 +02:00
places_conflict.rs Add Ty::is_union predicate and use it 2021-06-02 17:09:17 +02:00
prefixes.rs PlaceRef::ty: use method call syntax 2021-01-16 11:38:14 +01:00
renumber.rs Rename NLL* to Nll* accordingly to C-CASE 2021-01-28 16:18:25 +09:00
universal_regions.rs use to_region_vid in opaque type code 2021-06-17 05:22:04 -04:00
used_muts.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00