about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir
diff options
context:
space:
mode:
authorpierwill <pierwill@users.noreply.github.com>2021-04-07 14:47:01 -0500
committerpierwill <pierwill@users.noreply.github.com>2021-04-08 11:12:14 -0500
commit0019ca9141d0e397534df87a6a7c4c7ece2646d7 (patch)
treeadfd5610650d2d998dceba4d5a7b461e7f136cb3 /compiler/rustc_middle/src/mir
parentb01026de465d5a5ef51e32c1012c43927d2a111c (diff)
downloadrust-0019ca9141d0e397534df87a6a7c4c7ece2646d7.tar.gz
rust-0019ca9141d0e397534df87a6a7c4c7ece2646d7.zip
Fix outdated crate names in compiler docs
Changes `librustc_X` to `rustc_X`, only in documentation comments.
Plain code comments are left unchanged.

Also fix incorrect file paths.
Diffstat (limited to 'compiler/rustc_middle/src/mir')
-rw-r--r--compiler/rustc_middle/src/mir/interpret/error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/mir/interpret/error.rs b/compiler/rustc_middle/src/mir/interpret/error.rs
index b2b969e9b34..3b8a4adfb93 100644
--- a/compiler/rustc_middle/src/mir/interpret/error.rs
+++ b/compiler/rustc_middle/src/mir/interpret/error.rs
@@ -46,7 +46,7 @@ static_assert_size!(InterpErrorInfo<'_>, 8);
 /// Packages the kind of error we got from the const code interpreter
 /// up with a Rust-level backtrace of where the error occurred.
 /// Thsese should always be constructed by calling `.into()` on
-/// a `InterpError`. In `librustc_mir::interpret`, we have `throw_err_*`
+/// a `InterpError`. In `rustc_mir::interpret`, we have `throw_err_*`
 /// macros for this.
 #[derive(Debug)]
 pub struct InterpErrorInfo<'tcx>(Box<InterpErrorInfoInner<'tcx>>);