|
30 | 30 | // inputs are handled by each, and (2.) to ease searching for related
|
31 | 31 | // occurrences in the source text.
|
32 | 32 |
|
| 33 | +// check-pass |
| 34 | + |
33 | 35 | #![warn(unused_attributes, unknown_lints)]
|
34 |
| -#![allow(stable_features)] |
35 | 36 |
|
36 | 37 | // UNGATED WHITE-LISTED BUILT-IN ATTRIBUTES
|
37 | 38 |
|
|
75 | 76 | // see issue-43106-gating-of-stable.rs
|
76 | 77 | // see issue-43106-gating-of-unstable.rs
|
77 | 78 | // see issue-43106-gating-of-deprecated.rs
|
78 |
| -#![windows_subsystem = "1000"] |
| 79 | +#![windows_subsystem = "windows"] |
79 | 80 |
|
80 | 81 | // UNGATED CRATE-LEVEL BUILT-IN ATTRIBUTES
|
81 | 82 |
|
@@ -539,7 +540,7 @@ mod export_name {
|
539 | 540 | #[export_name = "2200"] impl S { }
|
540 | 541 | }
|
541 | 542 |
|
542 |
| -// Note that this test has a `skip-codegen`, so it |
| 543 | +// Note that this is a `check-pass` test, so it |
543 | 544 | // will never invoke the linker. These are here nonetheless to point
|
544 | 545 | // out that we allow them at non-crate-level (though I do not know
|
545 | 546 | // whether they have the same effect here as at crate-level).
|
@@ -611,17 +612,17 @@ mod must_use {
|
611 | 612 | #[must_use] impl S { }
|
612 | 613 | }
|
613 | 614 |
|
614 |
| -#[windows_subsystem = "1000"] |
| 615 | +#[windows_subsystem = "windows"] |
615 | 616 | mod windows_subsystem {
|
616 |
| - mod inner { #![windows_subsystem="1000"] } |
| 617 | + mod inner { #![windows_subsystem="windows"] } |
617 | 618 |
|
618 |
| - #[windows_subsystem = "1000"] fn f() { } |
| 619 | + #[windows_subsystem = "windows"] fn f() { } |
619 | 620 |
|
620 |
| - #[windows_subsystem = "1000"] struct S; |
| 621 | + #[windows_subsystem = "windows"] struct S; |
621 | 622 |
|
622 |
| - #[windows_subsystem = "1000"] type T = S; |
| 623 | + #[windows_subsystem = "windows"] type T = S; |
623 | 624 |
|
624 |
| - #[windows_subsystem = "1000"] impl S { } |
| 625 | + #[windows_subsystem = "windows"] impl S { } |
625 | 626 | }
|
626 | 627 |
|
627 | 628 | // BROKEN USES OF CRATE-LEVEL BUILT-IN ATTRIBUTES
|
|
0 commit comments