rust/compiler/rustc_lint
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
..
src Auto merge of #79322 - jyn514:refactor-impl, r=estebank 2021-01-13 01:40:41 +00:00
Cargo.toml Parse the format string for the panic_fmt lint for better warnings. 2020-10-20 22:25:42 +02:00