Skip to content

Commit c7cb45c

Browse files
committed
Auto merge of #14153 - Urgau:builtin_cfgs_lint, r=ehuss
Allow `unexpected_builtin_cfgs` lint in `user_specific_cfgs` test ### What does this PR try to resolve? This PR allows the to be added `unexpected_builtin_cfgs` lint from rust-lang/rust#126158 in the `user_specific_cfgs_are_filtered_out` test in order to be able to merge the lint in rust-lang/rust CI. ### How should we test and review this PR? The new lint is described in rust-lang/rust#126158 (comment) and testing should be "as simple" as executing the test with my rustc branch. ### Additional information rust-lang/rust#126158 (comment) shows the test failing with the addition of the lint.
2 parents 05a0951 + ee23df9 commit c7cb45c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testsuite/build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6575,7 +6575,7 @@ fn user_specific_cfgs_are_filtered_out() {
65756575
)
65766576
.build();
65776577

6578-
p.cargo("rustc -- --cfg debug_assertions --cfg proc_macro")
6578+
p.cargo("rustc -- --cfg debug_assertions --cfg proc_macro -Aunknown_lints -Aunexpected_builtin_cfgs")
65796579
.run();
65806580
p.process(&p.bin("foo")).run();
65816581
}

0 commit comments

Comments
 (0)