diff options
author | Jonas Schievink <[email protected]> | 2020-12-17 14:45:26 +0000 |
---|---|---|
committer | Jonas Schievink <[email protected]> | 2020-12-17 14:45:26 +0000 |
commit | 9231821c031ddada08d37547664b276d5e631f62 (patch) | |
tree | 7077e360ba55f13a1b210d43fcef31dd73ceae70 /crates/hir/src | |
parent | 3f6077ffe75a31dd53e77719d3369605b6f8b7a5 (diff) |
Make `Attrs::from_attrs_owner` private
Diffstat (limited to 'crates/hir/src')
-rw-r--r-- | crates/hir/src/code_model.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/hir/src/code_model.rs b/crates/hir/src/code_model.rs index 84e8c8047..2c0e0eae0 100644 --- a/crates/hir/src/code_model.rs +++ b/crates/hir/src/code_model.rs | |||
@@ -1325,6 +1325,7 @@ impl Impl { | |||
1325 | let item = src.file_id.is_builtin_derive(db.upcast())?; | 1325 | let item = src.file_id.is_builtin_derive(db.upcast())?; |
1326 | let hygenic = hir_expand::hygiene::Hygiene::new(db.upcast(), item.file_id); | 1326 | let hygenic = hir_expand::hygiene::Hygiene::new(db.upcast(), item.file_id); |
1327 | 1327 | ||
1328 | // FIXME: handle `cfg_attr` | ||
1328 | let attr = item | 1329 | let attr = item |
1329 | .value | 1330 | .value |
1330 | .attrs() | 1331 | .attrs() |