Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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