File tree 1 file changed +4
-5
lines changed 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -1867,13 +1867,12 @@ macro scope.
1867
1867
lower to the target's SIMD instructions, if any; the ` simd ` feature gate
1868
1868
is necessary to use this attribute.
1869
1869
- ` static_assert ` - on statics whose type is ` bool ` , terminates compilation
1870
- with an error if it is not initialized to ` true ` .
1871
- - ` unsafe_destructor ` - allow implementations of the "drop" language item
1872
- where the type it is implemented for does not implement the "send" language
1873
- item; the ` unsafe_destructor ` feature gate is needed to use this attribute
1870
+ with an error if it is not initialized to ` true ` . To use this, the ` static_assert `
1871
+ feature gate must be enabled.
1874
1872
- ` unsafe_no_drop_flag ` - on structs, remove the flag that prevents
1875
1873
destructors from being run twice. Destructors might be run multiple times on
1876
- the same object with this attribute.
1874
+ the same object with this attribute. To use this, the ` unsafe_no_drop_flag ` feature
1875
+ gate must be enabled.
1877
1876
- ` doc ` - Doc comments such as ` /// foo ` are equivalent to ` #[doc = "foo"] ` .
1878
1877
- ` rustc_on_unimplemented ` - Write a custom note to be shown along with the error
1879
1878
when the trait is found to be unimplemented on a type.
You can’t perform that action at this time.
0 commit comments