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.
1 parent 18d0dcb commit 6354c51Copy full SHA for 6354c51
library/std/tests/sync/lib.rs
@@ -59,7 +59,7 @@ fn result_unwrap<T, E: std::fmt::Debug>(x: Result<T, E>) -> T {
59
///
60
/// The test names will be prefiex with `poison_` or `nonpoison_`.
61
62
-/// Important: `cfg_attr()` will not apply attributes to both tests.
+/// Important: most attributes (except `cfg`) will not work properly! (They are only applied to the first test.)
63
/// See <https://github.com/rust-lang/rust/pull/146433> for more information.
64
macro_rules! nonpoison_and_poison_unwrap_test {
65
(
0 commit comments