]> git.lizzy.rs Git - rust.git/commitdiff
Rename modules
authorYuki OKUSHI <huyuumi.dev@gmail.com>
Tue, 16 Apr 2019 22:35:54 +0000 (07:35 +0900)
committerYuki OKUSHI <huyuumi.dev@gmail.com>
Wed, 17 Apr 2019 09:21:34 +0000 (18:21 +0900)
12 files changed:
src/librustc/lib.rs
src/librustc_codegen_llvm/lib.rs
src/librustc_codegen_ssa/lib.rs
src/librustc_lint/lib.rs
src/librustc_metadata/lib.rs
src/librustc_mir/lib.rs
src/librustc_passes/lib.rs
src/librustc_plugin/lib.rs
src/librustc_privacy/lib.rs
src/librustc_resolve/lib.rs
src/librustc_typeck/lib.rs
src/libsyntax_ext/lib.rs

index c5c2cbfcb89404cdc1c568cd86525d02854f9f4a..a50ef55a2fde8c15babfaefd88050ecf2a4f1f28 100644 (file)
@@ -99,7 +99,7 @@
 
 // N.B., this module needs to be declared first so diagnostics are
 // registered before they are used.
-pub mod diagnostics;
+pub mod error_codes;
 
 #[macro_use]
 pub mod query;
index da91217e95e3d80522a81ed18ed4d426c30609ab..c2eee59fbb0ac0989c32e25b4bf459e3f983078b 100644 (file)
@@ -70,7 +70,7 @@
 use rustc_codegen_ssa::ModuleCodegen;
 use rustc_codegen_utils::codegen_backend::CodegenBackend;
 
-mod diagnostics;
+mod error_codes;
 
 mod back {
     mod archive;
index e2917578c0ece4c3c098113fd1601ffa5d1f418c..14caca84a9f486a3ee1bdcb34c0221c1b5fdb1d7 100644 (file)
@@ -41,7 +41,7 @@
 
 // N.B., this module needs to be declared first so diagnostics are
 // registered before they are used.
-mod diagnostics;
+mod error_codes;
 
 pub mod common;
 pub mod traits;
index 9354f203e4e4ecb02b8f45807eecb58defc590ed..cd967f5b713617337f24ea3d12632bc2492e6555 100644 (file)
@@ -25,7 +25,7 @@
 #[macro_use]
 extern crate rustc;
 
-mod diagnostics;
+mod error_codes;
 mod nonstandard_style;
 pub mod builtin;
 mod types;
index 4078171733fc3fd5862ae3028743f835734cee33..873d36c454420114c45250d96dc9ba69065007c1 100644 (file)
@@ -26,7 +26,7 @@
 #[macro_use]
 extern crate rustc_data_structures;
 
-mod diagnostics;
+mod error_codes;
 
 mod index_builder;
 mod index;
index deeed9a0b9846ecc4892e66fc5de96f3c8550ea0..299fe26652829d020e795ef7e234c59bfd1b19c8 100644 (file)
@@ -40,7 +40,7 @@
 #[macro_use]
 extern crate syntax;
 
-mod diagnostics;
+mod error_codes;
 
 mod borrow_check;
 mod build;
index 20442a4a566ece72d545793798884de7118bf043..6cf5bf6494671cbbde27b1afa10393ba7211d717 100644 (file)
@@ -19,7 +19,7 @@
 
 use rustc::ty::query::Providers;
 
-mod diagnostics;
+mod error_codes;
 
 pub mod ast_validation;
 pub mod rvalue_promotion;
index 351ba7f04d3b100781863694133e2b28c13ea8f3..3775dbb79c6fde8f409eabbd97e38bf195a29876 100644 (file)
@@ -61,7 +61,7 @@
 
 pub use registry::Registry;
 
-mod diagnostics;
+mod error_codes;
 pub mod registry;
 pub mod load;
 pub mod build;
index 44621e5dc95d1b2b823f810fc109a6f7c64c780a..9d187cea1ce6c35006d04067478600dacab36ff8 100644 (file)
@@ -33,7 +33,7 @@
 use std::{cmp, fmt, mem};
 use std::marker::PhantomData;
 
-mod diagnostics;
+mod error_codes;
 
 ////////////////////////////////////////////////////////////////////////////////
 /// Generic infrastructure used to implement specific visitors below.
index 96aac977297979cbe8d14af8f0300dd9e94f6ddb..bd5f87af6a9678910962915993e0703d9c0dc14b 100644 (file)
@@ -65,7 +65,7 @@
 use rustc_data_structures::ptr_key::PtrKey;
 use rustc_data_structures::sync::Lrc;
 
-use error_reporting::{find_span_of_binding_until_next_binding, extend_span_to_previous_binding};
+use diagnostics::{find_span_of_binding_until_next_binding, extend_span_to_previous_binding};
 use resolve_imports::{ImportDirective, ImportDirectiveSubclass, NameResolution, ImportResolver};
 use macros::{InvocationData, LegacyBinding, ParentScope};
 
@@ -73,8 +73,8 @@
 
 // N.B., this module needs to be declared first so diagnostics are
 // registered before they are used.
+mod error_codes;
 mod diagnostics;
-mod error_reporting;
 mod macros;
 mod check_unused;
 mod build_reduced_graph;
index 21d1af229ddc2815a4536ed9499cff0adf4378e6..64b91289dfe4c63d39f8d9f4622bc85af8a1b738 100644 (file)
@@ -81,7 +81,7 @@
 
 // N.B., this module needs to be declared first so diagnostics are
 // registered before they are used.
-mod diagnostics;
+mod error_codes;
 
 mod astconv;
 mod check;
index ee0b86963f31dcdc9f7da4b3a298b0b82ed6f8e1..2847525caada3ef063068f4414d1f253795f8d2f 100644 (file)
@@ -17,7 +17,7 @@
 
 extern crate proc_macro;
 
-mod diagnostics;
+mod error_codes;
 
 mod asm;
 mod assert;