File tree 2 files changed +6
-6
lines changed
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.
4
3
//
5
4
// #54388: an unused reference to an undefined static may or may not
6
5
// compile. To sidestep this by using one that *is* defined.
7
6
8
7
// run-rustfix
8
+ // ignore-wasm32 no external library to link to.
9
9
// compile-flags: -g -Z continue-parse-after-error
10
10
#![feature(libc)]
11
11
extern 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.
4
3
//
5
4
// #54388: an unused reference to an undefined static may or may not
6
5
// compile. To sidestep this by using one that *is* defined.
7
6
8
7
// run-rustfix
8
+ // ignore-wasm32 no external library to link to.
9
9
// compile-flags: -g -Z continue-parse-after-error
10
10
#![ feature( libc) ]
11
11
extern crate libc;
You can’t perform that action at this time.
0 commit comments