item.hash_stable(self, hasher);
style.hash_stable(self, hasher);
span.hash_stable(self, hasher);
- tokens.as_ref().expect_none("Tokens should have been removed during lowering!");
+ assert_matches!(
+ tokens.as_ref(),
+ None,
+ "Tokens should have been removed during lowering!"
+ );
} else {
unreachable!();
}