rust/tests/ui/imports/issue-28134.rs

6 lines
129 B
Rust

//@ compile-flags: --test
#![allow(soft_unstable)]
#![test]
//~^ ERROR 4:1: 4:9: `test` attribute cannot be used at crate level