Skip to content

Commit

Permalink
more private
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-i-m committed Dec 4, 2019
1 parent d9511a1 commit b998e83
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions src/librustc_mir/borrow_check/diagnostics/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@ mod var_name;
mod region_name;
mod outlives_suggestion;

crate mod conflict_errors;
crate mod move_errors;
crate mod mutability_errors;
crate mod region_errors;
crate mod explain_borrow;
mod conflict_errors;
mod move_errors;
mod mutability_errors;
mod region_errors;
mod explain_borrow;

crate use mutability_errors::AccessKind;
crate use region_name::{RegionName, RegionNameSource, RegionErrorNamingCtx};
crate use region_errors::{ErrorReportingCtx, ErrorConstraintInfo};
crate use outlives_suggestion::OutlivesSuggestionBuilder;
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_mir/borrow_check/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ use self::flows::Flows;
use self::location::LocationTable;
use self::prefixes::PrefixSet;
use self::MutateMode::{JustWrite, WriteAndRead};
use self::diagnostics::mutability_errors::AccessKind;
use self::diagnostics::AccessKind;

use self::path_utils::*;

Expand Down

0 comments on commit b998e83

Please sign in to comment.