Skip to content

Commit

Permalink
fix tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
traxys committed Oct 28, 2019
1 parent de9413b commit 652b1bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_resolve/resolve_imports.rs
Expand Up @@ -973,7 +973,7 @@ impl<'a, 'b> ImportResolver<'a, 'b> {
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;
Expand Down

0 comments on commit 652b1bd

Please sign in to comment.