about summary refs log tree commit diff
path: root/src/librustc_error_codes/error_codes
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-03-30 05:26:27 +0000
committerbors <bors@rust-lang.org>2020-03-30 05:26:27 +0000
commit8926bb497d9b127eb318aea5aed0e745d8381591 (patch)
tree637b0151ddc296b61025dd9b1e5424cb99893a79 /src/librustc_error_codes/error_codes
parent0afdf43dc1d9be4c8b422840166b51dd99e56a16 (diff)
parent2a9283914721317564e0d5a6672e4f39767a9311 (diff)
downloadrust-8926bb497d9b127eb318aea5aed0e745d8381591.tar.gz
rust-8926bb497d9b127eb318aea5aed0e745d8381591.zip
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_error_codes/error_codes')
-rw-r--r--src/librustc_error_codes/error_codes/E0264.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_error_codes/error_codes/E0264.md b/src/librustc_error_codes/error_codes/E0264.md
index 708eac8837a..e2a27f7b106 100644
--- a/src/librustc_error_codes/error_codes/E0264.md
+++ b/src/librustc_error_codes/error_codes/E0264.md
@@ -12,7 +12,7 @@ extern "C" {
 ```
 
 A list of available external lang items is available in
-`src/librustc/middle/weak_lang_items.rs`. Example:
+`src/librustc_middle/middle/weak_lang_items.rs`. Example:
 
 ```
 #![feature(lang_items)]