rust/compiler/rustc_middle/src/ty
Matthias Krüger bfefd587c0
Rollup merge of #98028 - aticu:master, r=estebank
Add E0790 as more specific variant of E0283

Fixes #81701

I think this should be good to go, there are only two things where I am somewhat unsure:
- Is there a better way to get the fully-qualified path for the suggestion? I tried `self.tcx.def_path_str`, but that didn't seem to always give a correct path for the context.
- Should all this be extracted into it's own method or is it fine where it is?

r? `@estebank`
2022-07-19 13:30:44 +02:00
..
consts don't allow ZST in ScalarInt 2022-07-09 07:27:29 -04:00
inhabitedness Move things to rustc_type_ir 2022-05-28 11:38:22 -07:00
print Rollup merge of #99342 - TaKO8Ki:avoid-symbol-to-string-conversions, r=compiler-errors 2022-07-16 22:30:56 +02:00
_match.rs Rename the ConstS::val field as kind. 2022-06-14 13:06:44 +10:00
abstract_const.rs Fix overlapping impls 2022-07-14 09:01:17 +00:00
adjustment.rs Add #[derive(TypeVisitable)] 2022-07-05 22:25:15 +01:00
adt.rs Rollup merge of #99011 - oli-obk:UnsoundCell, r=eddyb 2022-07-13 19:32:34 +05:30
assoc.rs Cache more queries on disk. 2022-05-13 08:06:48 +02:00
binding.rs impl TypeVisitable in type traversal macros 2022-07-05 22:25:33 +01:00
cast.rs Add a helper method with an explicit name instead of hand rolling a match 3x 2022-07-05 09:26:45 +00:00
closure.rs Use span_bug for unexpected field projection type 2022-07-18 16:24:08 +09:00
codec.rs Move abstract const to rustc_middle::ty 2022-07-12 02:21:31 +00:00
consts.rs Update TypeVisitor paths 2022-07-06 06:41:53 +01:00
context.rs Use LocalDefId in OpaqueTypeKey 2022-07-19 02:08:49 +00:00
diagnostics.rs Update TypeVisitor paths 2022-07-06 06:41:53 +01:00
erase_regions.rs Update TypeVisitor paths 2022-07-06 06:41:53 +01:00
error.rs replace guess_head_span with def_span 2022-07-06 19:09:47 +09:00
fast_reject.rs Update TypeVisitor paths 2022-07-06 06:41:53 +01:00
flags.rs Make evaluate_obligation not succeed unconditionally if it registered new hidden types for opaque types 2022-06-30 14:23:31 +00:00
fold.rs eagerly check for bound vars of predicates 2022-07-14 12:48:50 +02:00
generics.rs Add bound_const_param_default 2022-07-07 22:14:01 -04:00
impls_ty.rs Move RegionKind to rustc_type_ir 2022-06-19 00:20:27 -04:00
instance.rs Rename debugging_opts to unstable_opts 2022-07-13 17:47:06 -05:00
layout.rs Rollup merge of #99342 - TaKO8Ki:avoid-symbol-to-string-conversions, r=compiler-errors 2022-07-16 22:30:56 +02:00
list.rs Use delayed error handling for Encodable and Encoder infallible. 2022-06-08 07:01:26 +10:00
mod.rs Use LocalDefId in OpaqueTypeKey 2022-07-19 02:08:49 +00:00
normalize_erasing_regions.rs Recover when failing to normalize closure signature. 2022-06-30 21:45:29 +02:00
parameterized.rs Move abstract const to rustc_middle::ty 2022-07-12 02:21:31 +00:00
query.rs Use constant eval to do strict validity checks 2022-07-14 22:55:17 +01:00
relate.rs Add #[derive(TypeVisitable)] 2022-07-05 22:25:15 +01:00
rvalue_scopes.rs factor out the rvalue lifetime rule 2022-05-22 16:46:50 +08:00
structural_impls.rs Miscellaneous inlining improvements 2022-07-07 22:20:08 +02:00
sty.rs Use LocalDefId in OpaqueTypeKey 2022-07-19 02:08:49 +00:00
subst.rs Update TypeVisitor paths 2022-07-06 06:41:53 +01:00
trait_def.rs Add E0790 as more specific variant of E0283 2022-07-19 10:16:10 +02:00
util.rs Rollup merge of #99038 - jackh726:earlybinder-cleanup, r=lcnr 2022-07-12 17:06:34 +05:30
visit.rs Split TypeVisitable from TypeFoldable 2022-07-05 19:18:19 +01:00
vtable.rs Fix TyKind lint, make consts no longer fn, etc 2022-05-28 11:38:22 -07:00
walk.rs Rename the ConstS::val field as kind. 2022-06-14 13:06:44 +10:00