summary refs log tree commit diff
path: root/src/test/ui/error-codes/E0197.stderr
blob: 51ed9c83bc99924447a7359921d16b015daa1beb (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0197]: inherent impls cannot be unsafe
  --> $DIR/E0197.rs:3:1
   |
LL | unsafe impl Foo { }
   | ------^^^^^^^^^^^^^
   | |
   | unsafe because of this

error: aborting due to previous error

For more information about this error, try `rustc --explain E0197`.