rust/src/librustc_middle/ty
Matthew Jasper cbcef3effc Rework `rustc_serialize`
- Move the type parameter from `encode` and `decode` methods to
  the trait.
- Remove `UseSpecialized(En|De)codable` traits.
- Remove blanket impls for references.
- Add `RefDecodable` trait to allow deserializing to arena-allocated
  references safely.
- Remove ability to (de)serialize HIR.
- Create proc-macros `(Ty)?(En|De)codable` to help implement these new
  traits.
2020-08-14 17:34:30 +01:00
..
consts Rework `rustc_serialize` 2020-08-14 17:34:30 +01:00
inhabitedness Move ensure_sufficient_stack to data_structures 2020-05-02 16:47:52 +02:00
print Miri: Renamed "undef" to "uninit" 2020-08-08 07:53:47 -06:00
query Rework `rustc_serialize` 2020-08-14 17:34:30 +01:00
_match.rs change `skip_binder` to use T by value 2020-06-30 09:13:56 +02:00
adjustment.rs Rework `rustc_serialize` 2020-08-14 17:34:30 +01:00
binding.rs Rework `rustc_serialize` 2020-08-14 17:34:30 +01:00
cast.rs Rework `rustc_serialize` 2020-08-14 17:34:30 +01:00
codec.rs Rework `rustc_serialize` 2020-08-14 17:34:30 +01:00
consts.rs Rework `rustc_serialize` 2020-08-14 17:34:30 +01:00
context.rs Rework `rustc_serialize` 2020-08-14 17:34:30 +01:00
diagnostics.rs Account for multiple impl/dyn Trait in return type when suggesting `'_` 2020-06-19 13:40:51 -07:00
erase_regions.rs Use for<'tcx> fn pointers in Providers, instead of having Providers<'tcx>. 2020-07-05 23:00:14 +03:00
error.rs remove unused `TypeError::ProjectionBoundsLength` 2020-06-30 09:13:56 +02:00
fast_reject.rs Rework `rustc_serialize` 2020-08-14 17:34:30 +01:00
flags.rs instance: only polymorphize upvar substs 2020-08-09 14:53:33 +01:00
fold.rs instance: only polymorphize upvar substs 2020-08-09 14:53:33 +01:00
instance.rs Rework `rustc_serialize` 2020-08-14 17:34:30 +01:00
layout.rs Rework `rustc_serialize` 2020-08-14 17:34:30 +01:00
list.rs Rework `rustc_serialize` 2020-08-14 17:34:30 +01:00
mod.rs Rework `rustc_serialize` 2020-08-14 17:34:30 +01:00
normalize_erasing_regions.rs mir: `unused_generic_params` query 2020-07-20 19:35:30 +01:00
outlives.rs make all uses of ty::Error or ConstKind::Error delay a span bug 2020-06-15 18:25:58 -05:00
relate.rs const generics work! 2020-07-15 12:58:32 +02:00
steal.rs rustc -> rustc_middle part 1 2020-03-30 07:02:56 +02:00
structural_impls.rs Use Lift derive proc-macro in librustc_traits. 2020-08-02 15:49:26 +02:00
sty.rs Rework `rustc_serialize` 2020-08-14 17:34:30 +01:00
subst.rs Rework `rustc_serialize` 2020-08-14 17:34:30 +01:00
trait_def.rs Rework `rustc_serialize` 2020-08-14 17:34:30 +01:00
util.rs Rework `rustc_serialize` 2020-08-14 17:34:30 +01:00
walk.rs change `skip_binder` to use T by value 2020-06-30 09:13:56 +02:00