rust/compiler/rustc_middle/src/ty
Dylan DPC c905e9d0ca
Rollup merge of #84014 - estebank:cool-bears-hot-tip, r=varkor
Improve trait/impl method discrepancy errors

* Use more accurate spans
* Clean up some code by removing previous hack
* Provide structured suggestions

Structured suggestions are particularly useful for cases where arbitrary self types are used, like in custom `Future`s, because the way to write `self: Pin<&mut Self>` is not necessarily self-evident when first encountered.
2021-04-12 01:04:04 +02:00
..
consts update const_eval_resolve 2021-03-20 17:22:24 +01:00
inhabitedness Implement Debug for DefIdForest 2021-01-16 17:56:32 -05:00
print Auto merge of #83870 - jackh726:binder-refactor-fix, r=nikomatsakis 2021-04-09 01:50:01 +00:00
query lazily calls some fns 2021-03-27 10:20:32 +03:00
_match.rs Add tcx lifetime to Binder 2021-03-31 10:13:57 -04:00
adjustment.rs New pass to deduplicate blocks 2021-02-21 21:51:54 +01:00
adt.rs Moved all Adt* types to adt.rs 2021-03-10 14:32:14 -08:00
assoc.rs Moved all Assoc* types to assoc.rs. 2021-03-10 14:32:13 -08: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 Remove (lots of) dead code 2021-03-27 22:16:33 -04:00
codec.rs Track bound vars 2021-03-31 10:15:27 -04:00
consts.rs Update with comments 2021-03-23 17:16:20 +00:00
context.rs Add var to BoundRegion. Add query to get bound vars for applicable items. 2021-03-31 10:16:37 -04:00
diagnostics.rs hir: Preserve used syntax in TyKind::TraitObject 2021-03-18 03:02:32 +03:00
erase_regions.rs Auto merge of #83207 - oli-obk:valtree2, r=lcnr 2021-04-02 10:28:12 +00:00
error.rs Use more accurate spans for trait/impl method arg divergence 2021-04-08 10:19:56 -07: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 Add tcx lifetime to Binder 2021-03-31 10:13:57 -04:00
fold.rs Fix outdated crate names in compiler docs 2021-04-08 11:12:14 -05:00
generics.rs Update with comments 2021-03-23 17:16:20 +00:00
instance.rs Inline some functions that suddenly show up more in traces 2021-04-01 09:22:12 +00:00
layout.rs rustc: Add a new wasm ABI 2021-04-08 08:03:18 -07:00
list.rs Fix typo 2020-12-23 13:08:15 -08:00
mod.rs Add var to BoundRegion. Add query to get bound vars for applicable items. 2021-03-31 10:16:37 -04:00
normalize_erasing_regions.rs Auto merge of #83207 - oli-obk:valtree2, r=lcnr 2021-04-02 10:28:12 +00:00
outlives.rs Address comments 2020-10-14 00:17:42 -04:00
relate.rs Use more accurate spans for trait/impl method arg divergence 2021-04-08 10:19:56 -07:00
structural_impls.rs Use more accurate spans for trait/impl method arg divergence 2021-04-08 10:19:56 -07:00
sty.rs Fix outdated crate names in compiler docs 2021-04-08 11:12:14 -05:00
subst.rs Auto merge of #83207 - oli-obk:valtree2, r=lcnr 2021-04-02 10:28:12 +00:00
trait_def.rs Only look at blanket impls in get_blanket_impls 2021-03-30 12:28:33 -04:00
util.rs Cleanups and comments 2021-03-31 10:16:37 -04:00
walk.rs extract ConstKind::Unevaluated into a struct 2021-03-20 17:21:44 +01:00