diff options
Diffstat (limited to 'tests/ui/error-codes/E0197.rs')
-rw-r--r-- | tests/ui/error-codes/E0197.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/error-codes/E0197.rs b/tests/ui/error-codes/E0197.rs new file mode 100644 index 000000000..4025a1f6c --- /dev/null +++ b/tests/ui/error-codes/E0197.rs @@ -0,0 +1,6 @@ +struct Foo; + +unsafe impl Foo { } //~ ERROR E0197 + +fn main() { +} |