mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
150d1fee04
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? |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |