Don't store call-site text offsets in hygiene info

This commit is contained in:
Jonas Schievink 2021-05-06 19:59:54 +02:00
parent b37b709459
commit 976a3226fe
19 changed files with 145 additions and 93 deletions

View file

@ -1666,7 +1666,7 @@ impl Impl {
.value
.attrs()
.filter_map(|it| {
let path = ModPath::from_src(it.path()?, &hygenic)?;
let path = ModPath::from_src(db.upcast(), it.path()?, &hygenic)?;
if path.as_ident()?.to_string() == "derive" {
Some(it)
} else {