summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/unsafe-foreign-mod.stderr
blob: 4acf72c5dae89924aff6c63c4ac6b140b845396b (plain)
1
2
3
4
5
6
7
8
error: extern block cannot be declared unsafe
  --> $DIR/unsafe-foreign-mod.rs:1:1
   |
LL | unsafe extern "C" {
   | ^^^^^^

error: aborting due to previous error