about summary refs log tree commit diff
path: root/tests/ui/feature-gates/feature-gate-sanitize.rs
blob: 40098d93272cb331addeb4a4aca727cdb107b435 (plain)
1
2
3
4
5
6
7
//@ normalize-stderr: "you are using [0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9]+)?( \([^)]*\))?" -> "you are using $$RUSTC_VERSION"
#![feature(no_sanitize)] //~ ERROR feature has been removed

#[sanitize(address = "on")]
//~^ ERROR the `#[sanitize]` attribute is an experimental feature
fn main() {
}