diff options
| author | bors <bors@rust-lang.org> | 2020-03-30 05:26:27 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-03-30 05:26:27 +0000 |
| commit | 8926bb497d9b127eb318aea5aed0e745d8381591 (patch) | |
| tree | 637b0151ddc296b61025dd9b1e5424cb99893a79 /src/librustc_errors | |
| parent | 0afdf43dc1d9be4c8b422840166b51dd99e56a16 (diff) | |
| parent | 2a9283914721317564e0d5a6672e4f39767a9311 (diff) | |
Auto merge of #70536 - Centril:rustc-middle, r=eddyb
Rename `librustc` to `librustc_middle`
Here we rename `librustc` to `librustc_middle`.
This crate is not nearly as large or central as it was previously and so it doesn't make much sense to give it such a central name as `librustc` ("the entry point to the compiler"). Moreover, there is already a `rustc` crate which is has the actual `fn main` of `rustc`, so having `librustc` is confusing relative to that.
r? @eddyb
Diffstat (limited to 'src/librustc_errors')
| -rw-r--r-- | src/librustc_errors/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_errors/lib.rs b/src/librustc_errors/lib.rs index 6157c46f80c..204fea58c95 100644 --- a/src/librustc_errors/lib.rs +++ b/src/librustc_errors/lib.rs @@ -425,7 +425,7 @@ impl Handler { } // This is here to not allow mutation of flags; - // as of this writing it's only used in tests in librustc. + // as of this writing it's only used in tests in librustc_middle. pub fn can_emit_warnings(&self) -> bool { self.flags.can_emit_warnings } |
