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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
118 B
Rust
Raw Normal View History

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