We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
compile_fail
1 parent 09d83e2 commit 3ac93abCopy full SHA for 3ac93ab
library/std/src/io/error/repr_bitpacked.rs
@@ -120,7 +120,7 @@ const TAG_SIMPLE: usize = 0b11;
120
/// See the module docs for more, this is just a way to hack in a check that we
121
/// indeed are not unwind-safe.
122
///
123
-/// ```compile_fail
+/// ```compile_fail,E0277
124
/// fn is_unwind_safe<T: core::panic::UnwindSafe>() {}
125
/// is_unwind_safe::<std::io::Error>();
126
/// ```
0 commit comments