@@ -64,13 +64,13 @@ extern crate alloc;
6464///
6565/// Zero arguments. The given expression (which evaluates to the function to be called) is `unsafe.`
6666/// ```compile_fail
67- #[ doc = include_str ! ( "../violation_coverage /unsafe_fn/zero_args/fn_expression.rs" ) ]
67+ #[ doc = include_str ! ( "../violations_coverage /unsafe_fn/zero_args/fn_expression.rs" ) ]
6868/// ```
6969/// ```compile_fail
70- #[ doc = include_str ! ( "../violation_coverage /unsafe_fn/some_args/fn_expression.rs" ) ]
70+ #[ doc = include_str ! ( "../violations_coverage /unsafe_fn/some_args/fn_expression.rs" ) ]
7171/// ```
7272/// ```compile_fail
73- #[ doc = include_str ! ( "../violation_coverage /unsafe_fn/some_args/arg.rs" ) ]
73+ #[ doc = include_str ! ( "../violations_coverage /unsafe_fn/some_args/arg.rs" ) ]
7474/// ```
7575#[ macro_export]
7676macro_rules! unsafe_fn {
@@ -98,19 +98,19 @@ macro_rules! unsafe_fn {
9898// - RUSTDOCFLAGS="..." cargo +nightly doc ...
9999//
100100/// ```compile_fail,E0133
101- #[ doc = include_str ! ( "../violation_coverage /unsafe_fn/zero_args/fn_expression.rs" ) ]
101+ #[ doc = include_str ! ( "../violations_coverage /unsafe_fn/zero_args/fn_expression.rs" ) ]
102102/// ```
103103#[ cfg( doctest) ]
104104pub const _: ( ) = { } ;
105105
106106/// ```compile_fail,E0133
107- #[ doc = include_str ! ( "../violation_coverage /unsafe_fn/some_args/fn_expression.rs" ) ]
107+ #[ doc = include_str ! ( "../violations_coverage /unsafe_fn/some_args/fn_expression.rs" ) ]
108108/// ```
109109#[ cfg( doctest) ]
110110pub const _: ( ) = { } ;
111111
112112/// ```compile_fail,E0133
113- #[ doc = include_str ! ( "../violation_coverage /unsafe_fn/some_args/arg.rs" ) ]
113+ #[ doc = include_str ! ( "../violations_coverage /unsafe_fn/some_args/arg.rs" ) ]
114114/// ```
115115#[ cfg( doctest) ]
116116pub const _: ( ) = { } ;
@@ -160,6 +160,16 @@ macro_rules! unsafe_static_set {
160160 }
161161 }
162162 } } ;
163+ // @TODO
164+ ( $static: path, ( $( $suffix: tt ) * ) $val: expr) => { {
165+ if false {
166+ // Pretend to copy the variable, even if it's not Copy
167+ //let var =
168+
169+ } else {
170+
171+ }
172+ } }
163173}
164174
165175/// Deref a pointer (either `const` or `mut`) and yield a read-only reference.
0 commit comments