rust/tests/ui/feature-gates/feature-gate-no_core.rs
2023-01-11 09:32:08 +00:00

6 lines
118 B
Rust

#![crate_type = "rlib"]
#![no_core] //~ ERROR the `#[no_core]` attribute is an experimental feature
pub struct S {}