Skip to content

Instantly share code, notes, and snippets.

@vthriller
Created March 17, 2019 21:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vthriller/72209d0b8cbe4d0ff72f681e85dae2d2 to your computer and use it in GitHub Desktop.
Save vthriller/72209d0b8cbe4d0ff72f681e85dae2d2 to your computer and use it in GitHub Desktop.
Compiling std v0.0.0 (…/rust/src/libstd)
error: unused attribute=============================================> ] 35/36: std
--> src/libstd/panic.rs:103:1
|
103 | / #[rustc_on_unimplemented(
104 | | message="the type `{Self}` may not be safely transferred across an unwind boundary",
105 | | label="`{Self}` may not be safely transferred across an unwind boundary",
106 | | )]
| |__^
|
= note: `-D unused-attributes` implied by `-D warnings`
error: unused attribute
--> src/libstd/panic.rs:121:1
|
121 | / #[rustc_on_unimplemented(
122 | | message="the type `{Self}` may contain interior mutability and a reference may not be safely \
123 | | transferrable across a catch_unwind boundary",
124 | | label="`{Self}` may contain interior mutability and a reference may not be safely \
125 | | transferrable across a catch_unwind boundary",
126 | | )]
| |__^
error: unused attribute
--> src/libstd/process.rs:1577:1
|
1577 | / #[rustc_on_unimplemented(
1578 | | message="`main` has invalid return type `{Self}`",
1579 | | label="`main` can only return types that implement `{Termination}`")]
| |_______________________________________________________________________^
error: aborting due to 3 previous errors
error: Could not compile `std`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment