Skip to content

Commit 1cf3687

Browse files
committed
---
yaml --- r: 228467 b: refs/heads/try c: 8638dc7 h: refs/heads/master i: 228465: 2184c04 228463: 0d57750 v: v3
1 parent 82864a0 commit 1cf3687

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: aca2057ed5fb7af3f8905b2bc01f72fa001c35c8
33
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4-
refs/heads/try: 1f0564b337ff2124c33e8df027bcdc9dbf4c82f5
4+
refs/heads/try: 8638dc7f9ae55d9b3102d152b2e2cca92bb83acf
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
77
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try/src/librustc_resolve/resolve_imports.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ impl<'a, 'b:'a, 'tcx:'b> ImportResolver<'a, 'b, 'tcx> {
451451
if !pub_err && directive.is_public && !child_name_bindings.is_public(TypeNS) {
452452
let msg = format!("`{}` is private, and cannot be reexported",
453453
token::get_name(source));
454-
let note_msg = format!("Consider declaring module {} as `pub mod`",
454+
let note_msg = format!("Consider declaring module `{}` as a `pub mod`",
455455
token::get_name(source));
456456
span_err!(self.resolver.session, directive.span, E0365, "{}", &msg);
457457
self.resolver.session.span_note(directive.span, &note_msg);

0 commit comments

Comments
 (0)