Skip to content

Commit 334ee77

Browse files
committed
annotate unsafe_fields test with #![feature(unsafe_fields)]
I want to make it clearer that these tests are associated with the unstable `unsafe_fields` feature.
1 parent af9e9c0 commit 334ee77

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/source/unsafe-field.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![feature(unsafe_fields)]
2+
13
struct Foo {
24
unsafe
35
field: (),

tests/target/unsafe-field.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![feature(unsafe_fields)]
2+
13
struct Foo {
24
unsafe field: (),
35
}

0 commit comments

Comments
 (0)