File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1- // This test is checking that extern items cannot be const. It also
2- // checks that `rustfix` suggests the alternative of using an extern
3- // static.
1+ // Check extern items cannot be const + `rustfix` suggests using
2+ // extern static.
43//
54// #54388: an unused reference to an undefined static may or may not
65// compile. To sidestep this by using one that *is* defined.
76
87// run-rustfix
8+ // ignore-wasm32 no external library to link to.
99// compile-flags: -g -Z continue-parse-after-error
1010#![ feature( libc) ]
1111extern crate libc;
Original file line number Diff line number Diff line change 1- // This test is checking that extern items cannot be const. It also
2- // checks that `rustfix` suggests the alternative of using an extern
3- // static.
1+ // Check extern items cannot be const + `rustfix` suggests using
2+ // extern static.
43//
54// #54388: an unused reference to an undefined static may or may not
65// compile. To sidestep this by using one that *is* defined.
76
87// run-rustfix
8+ // ignore-wasm32 no external library to link to.
99// compile-flags: -g -Z continue-parse-after-error
1010#![ feature( libc) ]
1111extern crate libc;
You can’t perform that action at this time.
0 commit comments