Skip to content

Commit ec487bf

Browse files
committed
Test that supported-crate-types is -Zunstable-options-gated
1 parent 01dc45c commit ec487bf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/ui/print-request/stability.rs

+4
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
//@[check_cfg] compile-flags: --print=check-cfg
2323
//@[check_cfg] error-pattern: the `-Z unstable-options` flag must also be passed
2424

25+
//@ revisions: supported_crate_types
26+
//@[supported_crate_types] compile-flags: --print=supported-crate-types
27+
//@[supported_crate_types] error-pattern: the `-Z unstable-options` flag must also be passed
28+
2529
//@ revisions: target_spec_json
2630
//@[target_spec_json] compile-flags: --print=target-spec-json
2731
//@[target_spec_json] error-pattern: the `-Z unstable-options` flag must also be passed

0 commit comments

Comments
 (0)