This commit is contained in:
Quentin Boyer 2019-10-28 11:22:26 +01:00
parent de9413bd34
commit 652b1bd45d

View File

@ -973,7 +973,7 @@ fn finalize_import(
max_vis.get() != ty::Visibility::Invisible && // Allow empty globs.
!max_vis.get().is_at_least(directive.vis.get(), &*self) {
let msg =
"glob import doesn't reexport anything because no candidate is public enough";
"glob import doesn't reexport anything because no candidate is public enough";
self.r.session.buffer_lint(UNUSED_IMPORTS, directive.id, directive.span, msg);
}
return None;