Rename modules
This commit is contained in:
parent
90821add81
commit
9ad56e3b94
12 changed files with 13 additions and 13 deletions
|
@ -99,7 +99,7 @@ mod macros;
|
|||
|
||||
// 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;
|
||||
|
|
|
@ -70,7 +70,7 @@ use rustc_mir::monomorphize;
|
|||
use rustc_codegen_ssa::ModuleCodegen;
|
||||
use rustc_codegen_utils::codegen_backend::CodegenBackend;
|
||||
|
||||
mod diagnostics;
|
||||
mod error_codes;
|
||||
|
||||
mod back {
|
||||
mod archive;
|
||||
|
|
|
@ -41,7 +41,7 @@ use syntax_pos::symbol::Symbol;
|
|||
|
||||
// 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;
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#[macro_use]
|
||||
extern crate rustc;
|
||||
|
||||
mod diagnostics;
|
||||
mod error_codes;
|
||||
mod nonstandard_style;
|
||||
pub mod builtin;
|
||||
mod types;
|
||||
|
|
|
@ -26,7 +26,7 @@ extern crate rustc;
|
|||
#[macro_use]
|
||||
extern crate rustc_data_structures;
|
||||
|
||||
mod diagnostics;
|
||||
mod error_codes;
|
||||
|
||||
mod index_builder;
|
||||
mod index;
|
||||
|
|
|
@ -40,7 +40,7 @@ extern crate serialize as rustc_serialize; // used by deriving
|
|||
#[macro_use]
|
||||
extern crate syntax;
|
||||
|
||||
mod diagnostics;
|
||||
mod error_codes;
|
||||
|
||||
mod borrow_check;
|
||||
mod build;
|
||||
|
|
|
@ -19,7 +19,7 @@ extern crate rustc;
|
|||
|
||||
use rustc::ty::query::Providers;
|
||||
|
||||
mod diagnostics;
|
||||
mod error_codes;
|
||||
|
||||
pub mod ast_validation;
|
||||
pub mod rvalue_promotion;
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
|
||||
pub use registry::Registry;
|
||||
|
||||
mod diagnostics;
|
||||
mod error_codes;
|
||||
pub mod registry;
|
||||
pub mod load;
|
||||
pub mod build;
|
||||
|
|
|
@ -33,7 +33,7 @@ use syntax_pos::Span;
|
|||
use std::{cmp, fmt, mem};
|
||||
use std::marker::PhantomData;
|
||||
|
||||
mod diagnostics;
|
||||
mod error_codes;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// Generic infrastructure used to implement specific visitors below.
|
||||
|
|
|
@ -65,7 +65,7 @@ use std::mem::replace;
|
|||
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 @@ type Def = def::Def<NodeId>;
|
|||
|
||||
// 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;
|
||||
|
|
|
@ -81,7 +81,7 @@ This API is completely unstable and subject to change.
|
|||
|
||||
// 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;
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
extern crate proc_macro;
|
||||
|
||||
mod diagnostics;
|
||||
mod error_codes;
|
||||
|
||||
mod asm;
|
||||
mod assert;
|
||||
|
|
Loading…
Add table
Reference in a new issue