about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-11-02 14:10:12 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2023-11-02 19:35:00 +1100
commite1ec2d5cc98cea75d222fc67d31e1d15bfc1d6f1 (patch)
treeca6744875782806722df03e6cfc01fa89f8403d8 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parent2e907aa90c67d73fadc9be54c6609f618045c10c (diff)
downloadrust-e1ec2d5cc98cea75d222fc67d31e1d15bfc1d6f1.tar.gz
rust-e1ec2d5cc98cea75d222fc67d31e1d15bfc1d6f1.zip
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.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions