mirror of
https://github.com/allankoechke/rust.git
synced 2026-11-30 11:05:36 +00:00
rustc_public: split `def`s out of `ty` This is more of an "I feel like this should be like this" kind of change. I suppose that we might need to make the `ty` a bit more fine-grained as the coverage expands. That said, I don't have a strong opinion on whether it's necessary, so feel free to close this PR if you find it not convincing enough. The diff looks so scary, though... I just split `ty.rs` into `def.rs` and `tys.rs` and changed `crate_def!` and `crate_def_with_ty!`.