Skip to content

Commit 5718eac

Browse files
committed
hir().attrs() -> hir_attrs()
1 parent b596ccd commit 5718eac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/attribute.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ memoize!(
463463
hir_id: HirId,
464464
) -> Arc<Vec<KlintAttribute>> {
465465
let mut v = Vec::new();
466-
for attr in cx.hir().attrs(hir_id) {
466+
for attr in cx.hir_attrs(hir_id) {
467467
let Some(attr) = crate::attribute::parse_klint_attribute(cx.tcx, hir_id, attr) else {
468468
continue;
469469
};

0 commit comments

Comments
 (0)