1
Fork 0

Rename the feature, but not the attribute, to coverage_attribute

This commit is contained in:
Andy Caldwell 2023-08-24 20:15:41 +01:00
parent de1600d110
commit 679267f2ac
No known key found for this signature in database
GPG key ID: D4204541AC1D228D
10 changed files with 12 additions and 11 deletions

View file

@ -254,7 +254,7 @@ fn generate_test_harness(
let expn_id = ext_cx.resolver.expansion_for_ast_pass(
DUMMY_SP,
AstPass::TestHarness,
&[sym::test, sym::rustc_attrs, sym::coverage],
&[sym::test, sym::rustc_attrs, sym::coverage_attribute],
None,
);
let def_site = DUMMY_SP.with_def_site_ctxt(expn_id.to_expn_id());