We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11b28d4 commit a1e76afCopy full SHA for a1e76af
clippy_lints/src/crate_in_macro_def.rs
@@ -88,7 +88,7 @@ fn contains_unhygienic_crate_reference(tts: &TokenStream) -> Option<Span> {
88
if !prev_is_dollar
89
&& let Some(span) = is_crate_keyword(curr)
90
&& let Some(next) = cursor.look_ahead(0)
91
- && is_token(next, &TokenKind::ModSep)
+ && is_token(next, &TokenKind::PathSep)
92
{
93
return Some(span);
94
}
0 commit comments