rust/compiler/rustc_middle/src/mir
Nicholas Nethercote f405ce86c2 Minimize pub usage in source_map.rs.
Most notably, this commit changes the `pub use crate::*;` in that file
to `use crate::*;`. This requires a lot of `use` items in other crates
to be adjusted, because everything defined within `rustc_span::*` was
also available via `rustc_span::source_map::*`, which is bizarre.

The commit also removes `SourceMap::span_to_relative_line_string`, which
is unused.
2023-11-02 19:35:00 +11:00
..
interpret Auto merge of #114330 - RalfJung:dagling-ptr-deref, r=oli-obk 2023-10-16 12:40:16 +00:00
basic_blocks.rs Remove deleted docs + better link together MIR traversing docs 2023-09-29 19:16:02 +00:00
consts.rs Turn const_caller_location from a query to a hook 2023-10-31 16:15:18 +00:00
coverage.rs coverage: Explicitly note that counter/expression IDs are function-local 2023-10-18 23:44:36 +11:00
generic_graph.rs inline format!() args up to and including rustc_middle 2023-07-30 13:18:33 +02:00
generic_graphviz.rs inline format!() args up to and including rustc_middle 2023-07-30 13:18:33 +02:00
graphviz.rs inline format!() args up to and including rustc_middle 2023-07-30 13:18:33 +02:00
mod.rs share the track_caller handling within a mir::Body 2023-10-28 16:16:15 +02:00
mono.rs Minimize pub usage in source_map.rs. 2023-11-02 19:35:00 +11:00
patch.rs Format all the let chains in compiler 2023-10-13 08:59:36 +00:00
pretty.rs Rename a few remaining references to abort terminator 2023-10-29 00:00:00 +00:00
query.rs s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
spanview.rs sync printing of MIR terminators with their new names (and dedup some to-str logic) 2023-08-20 15:52:40 +02:00
statement.rs Add docs, remove code, change subtyper code 2023-10-02 23:39:44 +03:00
syntax.rs Enums in offset_of: update based on est31, scottmcm & llogiq review 2023-10-31 23:26:02 +00:00
tcx.rs s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
terminator.rs Add a custom panic message for resuming gen blocks after they panicked 2023-10-30 10:23:57 +00:00
traversal.rs Remove deleted docs + better link together MIR traversing docs 2023-09-29 19:16:02 +00:00
type_foldable.rs s/Generator/Coroutine/ 2023-10-20 21:10:38 +00:00
visit.rs s/generator/coroutine/ 2023-10-20 21:14:01 +00:00