about summary refs log tree commit diff
path: root/tests/ui/rust-2024/unsafe-extern-blocks/safe-impl-trait.rs
blob: 67df8c14b39fdb5b9ca9eee032fb765a99fb6ef3 (plain)
1
2
3
4
5
trait Bar {}
safe impl Bar for () { }
//~^ ERROR expected one of `!` or `::`, found keyword `impl`

fn main() {}