rust/compiler/rustc_mir/src/util
bors 48691ea6e6 Auto merge of #83185 - jyn514:remove-dead-code, r=oli-obk
Remove (lots of) dead code

Builds on
- [ ] https://github.com/rust-lang/rust/pull/83161
- [x] https://github.com/rust-lang/rust/pull/83230
- [x] https://github.com/rust-lang/rust/pull/83197.

Found with https://github.com/est31/warnalyzer.
See https://github.com/rust-lang/rust/pull/77739 for a similar change in the past.

Dubious changes:
- Maybe some of the dead code in rustc_data_structures should be kept, in case someone wants to use it in the future?

TODO:
- [ ] check if any of the comments on the deleted code should be kept.
- [x] update the compiler documentation; right now it fails to build
- [x] finish moving `cfg(test)` changes into https://github.com/rust-lang/rust/pull/83197

cc `@est31`
2021-03-29 19:44:27 +00:00
..
aggregate.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
alignment.rs unaligned_references: align(N) fields in packed(N) structs are fine 2021-03-28 12:54:19 +02:00
borrowck_errors.rs Added better error message for shared borrow treated as unique for purposes of lifetimes 2020-12-01 10:24:23 +05:30
collect_writes.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
elaborate_drops.rs Prepare mir::Constant for ty::Const only supporting valtrees 2021-03-12 12:43:54 +00:00
find_self_call.rs Prepare mir::Constant for ty::Const only supporting valtrees 2021-03-12 12:43:54 +00:00
generic_graph.rs add different color for cleanup nodes in dark mode 2020-11-12 13:17:43 +05:30
generic_graphviz.rs Remove (lots of) dead code 2021-03-27 22:16:33 -04:00
graphviz.rs Fix mir-cfg dumps 2021-02-22 17:36:30 +03:00
mod.rs formatting 2020-11-10 00:21:25 +05:30
patch.rs Address review comments 2021-03-27 22:16:34 -04:00
pretty.rs s/ConstantSource/ConstantKind/ 2021-03-15 12:06:52 +00:00
spanview.rs Update match branches 2021-03-09 16:54:13 +00:00
storage.rs Miscellaneous inlining improvements 2021-02-26 00:00:00 +00:00