rust/compiler/rustc_trait_selection/src
bors 150d1fee04 Auto merge of #79322 - jyn514:refactor-impl, r=estebank
Separate out a `hir::Impl` struct

This makes it possible to pass the `Impl` directly to functions, instead
of having to pass each of the many fields one at a time. It also
simplifies matches in many cases.

See `rustc_save_analysis::dump_visitor::process_impl` or `rustdoc::clean::clean_impl` for a good example of how this makes `impl`s easier to work with.

r? `@petrochenkov` maybe?
2021-01-13 01:40:41 +00:00
..
traits Auto merge of #79322 - jyn514:refactor-impl, r=estebank 2021-01-13 01:40:41 +00:00
autoderef.rs compiler: fold by value 2020-11-16 22:34:57 +01:00
infer.rs Remove compile-fail test suite 2020-12-29 23:39:56 +03:00
lib.rs TypeVisitor: use ControlFlow in rustc_{infer,lint,trait_selection} 2020-10-30 12:27:34 +01:00
opaque_types.rs Remove extra call to upvar_tys 2020-11-29 19:11:20 -05:00