]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_resolve/lib.rs
Reexport -> re-export in error messages
[rust.git] / src / librustc_resolve / lib.rs
index 0a29441cef7efdfe7395d53fcc41a47242101c15..3aedc840521665145472ba1ac061f00a9cef5c0b 100644 (file)
@@ -2751,7 +2751,7 @@ fn smart_resolve_path_fragment(&mut self,
                                 let lint = lint::builtin::LEGACY_CONSTRUCTOR_VISIBILITY;
                                 self.session.buffer_lint(lint, id, span,
                                     "private struct constructors are not usable through \
-                                     reexports in outer modules",
+                                     re-exports in outer modules",
                                 );
                                 res = Some(PathResolution::new(ctor_def));
                             }