We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67a67d8 commit 7e74b72Copy full SHA for 7e74b72
library/alloc/tests/str.rs
@@ -1978,7 +1978,8 @@ fn const_str_ptr() {
1978
const B: &'static [u8; 2] = &A;
1979
const C: *const u8 = B as *const u8;
1980
1981
- #[cfg(not(miri))] // Miri does not deduplicate consts (https://github.com/rust-lang/miri/issues/131)
+ // Miri does not deduplicate consts (https://github.com/rust-lang/miri/issues/131)
1982
+ #[cfg(not(miri))]
1983
{
1984
let foo = &A as *const u8;
1985
assert_eq!(foo, C);
0 commit comments