fix annotations getting lost
This commit is contained in:
parent
6e0b6c000d
commit
2a25dd9d7b
|
@ -2272,7 +2272,8 @@ pub fn annotate<T: Type>(target: Expr<T>, annotations: impl IntoAnnotations) {
|
||||||
.body
|
.body
|
||||||
.annotations_map
|
.annotations_map
|
||||||
.entry(decl)
|
.entry(decl)
|
||||||
.or_default();
|
.or_default()
|
||||||
|
.extend(annotations);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue