Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Commit

Permalink
ices/91370.rs: fixed with errors
Browse files Browse the repository at this point in the history
=== stdout ===
=== stderr ===
error: incorrect function inside `extern` block
 --> /home/runner/work/glacier/glacier/ices/91370.rs:2:8
  |
1 |   extern {
  |   ------ `extern` blocks define existing foreign functions and functions inside of them cannot have a body
2 |       fn r() {
  |  ________^___-
  | |        |
  | |        cannot have a body
3 | |         impl Copy for u8 {}
4 | |     }
  | |_____- help: remove the invalid body: `;`
  |
  = help: you might have meant to write a function accessible through FFI, which can be done by writing `extern fn` outside of the `extern` block
  = note: for more information, visit https://doc.rust-lang.org/std/keyword.extern.html

error: aborting due to previous error

==============
  • Loading branch information
rustbot committed Jan 10, 2022
1 parent a9979a9 commit 1eaf701
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit 1eaf701

Please sign in to comment.