Skip to content

Commit 4b1e33b

Browse files
committed
Ignore the into in cargo/crates/crates-io/lib.rs
1 parent d4eff70 commit 4b1e33b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

compiler/rustc_lint/src/builtin.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3152,6 +3152,12 @@ impl<'tcx> LateLintPass<'tcx> for SelfTypeConversion<'tcx> {
31523152
return;
31533153
}
31543154
if cx.tcx.sess.source_map().span_to_embeddable_string(expr.span).contains("symbolize/gimli")
3155+
|| cx
3156+
.tcx
3157+
.sess
3158+
.source_map()
3159+
.span_to_embeddable_string(expr.span)
3160+
.contains("crates/crates-io")
31553161
{
31563162
// HACK
31573163
return;

0 commit comments

Comments
 (0)