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 d810c30 commit 06251e3Copy full SHA for 06251e3
src/spanned.rs
@@ -31,7 +31,12 @@ macro_rules! span_with_attrs_lo_hi {
31
if attrs.is_empty() {
32
mk_sp($lo, $hi)
33
} else {
34
- mk_sp(attrs[0].span.lo(), $hi)
+ // this path is already gone at latest rust-ap-* 627.0.0
35
+ if attrs[0].item.path.to_string() == "warn_directory_ownership" {
36
+ mk_sp($lo, $hi)
37
+ } else {
38
+ mk_sp(attrs[0].span.lo(), $hi)
39
+ }
40
}
41
}};
42
0 commit comments