Skip to content

Commit 293806b

Browse files
committed
Auto merge of #155812 - SynapLink:codex/check-pass-fixme-62277, r=petrochenkov
[codex] tests: mark migrated UI tests as check-pass ## Summary Migrate a small set of UI tests left behind by the `compile-pass` migration from `build-pass` to `check-pass`. These tests exercise attributes, cfg_attr, range trait type checking, and reachable-code diagnostics. None of the changed tests need codegen or linking, so `check-pass` matches the intended coverage and removes the stale `FIXME(#62277)` notes. ## Validation - `python x.py test tests/ui/attributes/attr-before-view-item.rs tests/ui/attributes/attr-before-view-item2.rs tests/ui/attributes/attr-mix-new.rs tests/ui/attributes/class-attributes-1.rs tests/ui/attributes/class-attributes-2.rs tests/ui/attributes/method-attributes.rs tests/ui/attributes/unrestricted-attribute-tokens.rs tests/ui/attributes/variant-attributes.rs tests/ui/conditional-compilation/cfg-attr-multi-false.rs tests/ui/conditional-compilation/cfg-attr-multi-true.rs tests/ui/range/range_traits-4.rs tests/ui/range/range_traits-5.rs tests/ui/range/range_traits-7.rs tests/ui/reachable/expr_andand.rs tests/ui/reachable/expr_oror.rs` - `python x.py test tidy`
2 parents b20956b + d7184b7 commit 293806b

15 files changed

Lines changed: 13 additions & 63 deletions

tests/ui/attributes/attr-before-view-item.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ build-pass (FIXME(62277): could be check-pass?)
1+
//@ check-pass
22

33
#![feature(rustc_attrs)]
44
#![feature(test)]

tests/ui/attributes/attr-before-view-item2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ build-pass (FIXME(62277): could be check-pass?)
1+
//@ check-pass
22

33
#![feature(rustc_attrs)]
44
#![feature(test)]

tests/ui/attributes/attr-mix-new.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ build-pass (FIXME(62277): could be check-pass?)
1+
//@ check-pass
22

33
#![feature(rustc_attrs)]
44

tests/ui/attributes/class-attributes-1.rs

Lines changed: 0 additions & 19 deletions
This file was deleted.

tests/ui/attributes/class-attributes-2.rs

Lines changed: 0 additions & 31 deletions
This file was deleted.

tests/ui/attributes/method-attributes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ build-pass (FIXME(62277): could be check-pass?)
1+
//@ check-pass
22
//@ pp-exact - Make sure we print all the attributes
33

44
#![feature(rustc_attrs)]

tests/ui/attributes/unrestricted-attribute-tokens.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ build-pass (FIXME(62277): could be check-pass?)
1+
//@ check-pass
22

33
#![feature(rustc_attrs)]
44

tests/ui/attributes/variant-attributes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ build-pass (FIXME(62277): could be check-pass?)
1+
//@ check-pass
22
//@ pp-exact - Make sure we actually print the attributes
33

44
#![allow(non_camel_case_types)]

tests/ui/conditional-compilation/cfg-attr-multi-false.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Test that cfg_attr doesn't emit any attributes when the
22
// configuration variable is false. This mirrors `cfg-attr-multi-true.rs`
33

4-
//@ build-pass (FIXME(62277): could be check-pass?)
4+
//@ check-pass
55

66
#![warn(unused_must_use)]
77

tests/ui/conditional-compilation/cfg-attr-multi-true.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// This is done by emitting two attributes that cause new warnings, and then
33
// triggering those warnings.
44

5-
//@ build-pass (FIXME(62277): could be check-pass?)
5+
//@ check-pass
66

77
#![warn(unused_must_use)]
88

0 commit comments

Comments
 (0)