Nicholas Nethercote
af6020320d
Simplify intra-crate qualifiers.
...
The following is a weird pattern for a file within `rustc_middle`:
```
use rustc_middle::aaa;
use crate::bbb;
```
More sensible and standard would be this:
```
use crate::{aaa, bbb};
```
I.e. we generally prefer using `crate::` to using a crate's own name.
(Exceptions are things like in macros where `crate::` doesn't work
because the macro is used in multiple crates.)
This commit fixes a bunch of these weird qualifiers.
2025-02-11 14:59:13 +11:00
Nicholas Nethercote
84ac80f192
Reformat use declarations.
...
The previous commit updated `rustfmt.toml` appropriately. This commit is
the outcome of running `x fmt --all` with the new formatting options.
2024-07-29 08:26:52 +10:00
Maybe Waffle
f5144938bd
Rename WithNumEdges => NumEdges and WithStartNode => StartNode
2024-04-14 15:51:29 +00:00
Maybe Waffle
0d5fc9bf58
Merge {With,Graph}{Successors,Predecessors} into {Successors,Predecessors}
...
Now with GAT!
2024-04-14 15:48:53 +00:00
Maybe Waffle
398da593a5
Merge WithNumNodes into DirectedGraph
2024-04-14 15:46:40 +00:00
Matthias Krüger
23815467a2
inline format!() args up to and including rustc_middle
2023-07-30 13:18:33 +02:00
Jannis Christopher Köhl
c27ddc9a7f
Remove redundant graphviz escaping
2022-11-14 15:11:18 +01:00
Joshua Nelson
3c9765cff1
Rename debugging_opts to unstable_opts
...
This is no longer used only for debugging options (e.g. `-Zoutput-width`, `-Zallow-features`).
Rename it to be more clear.
2022-07-13 17:47:06 -05:00
Matthias Krüger
97e844a032
fix clippy::single_char_pattern perf findings
2021-12-14 12:40:28 +01:00
Camille GILLOT
fd9c04fe32
Move the dataflow framework to its own crate.
2021-09-07 19:57:07 +02:00