]> git.proxmox.com Git - rustc.git/blob - tests/ui/error-codes/E0199.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / error-codes / E0199.rs
1 #![feature(negative_impls)]
2
3 struct Foo;
4
5 trait Bar { }
6 unsafe impl Bar for Foo { } //~ ERROR implementing the trait `Bar` is not unsafe [E0199]
7
8 fn main() {
9 }