9 lines
194 B
Rust
9 lines
194 B
Rust
//@ revisions: gated ungated
|
|
#![cfg_attr(gated, feature(unsafe_extern_blocks))]
|
|
|
|
trait Bar {}
|
|
safe impl Bar for () { }
|
|
//~^ ERROR expected one of `!` or `::`, found keyword `impl`
|
|
|
|
fn main() {}
|