Make Attrs::from_attrs_owner private

This commit is contained in:
Jonas Schievink 2020-12-17 15:45:26 +01:00
parent 3f6077ffe7
commit 9231821c03
4 changed files with 13 additions and 40 deletions

View file

@ -1325,6 +1325,7 @@ impl Impl {
let item = src.file_id.is_builtin_derive(db.upcast())?;
let hygenic = hir_expand::hygiene::Hygiene::new(db.upcast(), item.file_id);
// FIXME: handle `cfg_attr`
let attr = item
.value
.attrs()