rust/src/librustc/middle/ty
Aaron Turon 09263a6137 Fix mis-uses of projection mode
A couple of places where we construct a fresh inference context were
incorrectly assuming that we were past coherence checking. This commit
corrects them to use `Topmost` rather than `AnyFinal` as the projection mode.

Fixes #32324
2016-03-20 13:37:28 -07:00
..
_match.rs Rename middle::ty::ctxt to TyCtxt 2016-03-03 07:37:56 +00:00
adjustment.rs Track fn type and lifetime parameters in TyFnDef. 2016-03-09 16:45:28 +02:00
cast.rs typeck: Introduce reification for fn ptr casts. 2016-03-09 16:45:29 +02:00
contents.rs Split TyBareFn into TyFnDef and TyFnPtr. 2016-03-09 16:45:28 +02:00
context.rs simplify const path lookup for constants and associated constants 2016-03-10 12:50:13 +01:00
error.rs Split TyBareFn into TyFnDef and TyFnPtr. 2016-03-09 16:45:28 +02:00
fast_reject.rs Track fn type and lifetime parameters in TyFnDef. 2016-03-09 16:45:28 +02:00
flags.rs Track fn type and lifetime parameters in TyFnDef. 2016-03-09 16:45:28 +02:00
fold.rs Introduce ImplHeader 2016-03-11 10:36:28 -08:00
ivar.rs Refactor compiler to make use of dep-tracking-maps. Also, in cases where 2016-01-05 21:05:51 -05:00
maps.rs Implement the translation item collector. 2016-01-26 10:17:45 -05:00
mod.rs trans: Rename MonoId to Instance and start using it in more places. 2016-03-17 21:51:32 +02:00
outlives.rs Split TyBareFn into TyFnDef and TyFnPtr. 2016-03-09 16:45:28 +02:00
relate.rs typeck: Unify if-else blocks, match arms and array elements by coercing where possible. 2016-03-09 16:45:29 +02:00
structural_impls.rs Forbid items with the same name being defined in overlapping inherent 2016-03-11 10:59:39 -08:00
sty.rs mir: Unsize ConstVal::ByteStr before comparing &[u8] against it. 2016-03-17 21:51:53 +02:00
trait_def.rs Fixes after a rebase 2016-03-14 15:05:14 -07:00
util.rs Fix mis-uses of projection mode 2016-03-20 13:37:28 -07:00
walk.rs Track fn type and lifetime parameters in TyFnDef. 2016-03-09 16:45:28 +02:00
wf.rs Split TyBareFn into TyFnDef and TyFnPtr. 2016-03-09 16:45:28 +02:00