rust/tests/ui/feature-gates/feature-gate-no_core.rs

6 lines
118 B
Rust

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