rustc/tests/ui/error-codes/E0622.stderr
2025-02-17 11:14:05 +01:00

10 lines
384 B
Plaintext

error[E0622]: intrinsic must be a function
--> $DIR/E0622.rs:3:5
|
LL | pub static atomic_singlethreadfence_seqcst : unsafe extern "rust-intrinsic" fn();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected a function
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0622`.