File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change
1
+ diff --git a/library/alloc/tests/arc.rs b/library/alloc/tests/arc.rs
2
+ index eb379e4d6a1..9191fa95150 100644
3
+ --- a/library/alloc/tests/arc.rs
4
+ +++ b/library/alloc/tests/arc.rs
5
+ @@ -212,6 +212,7 @@ fn hmm<'a>(val: &'a mut Weak<&'a str>) -> Weak<&'a str> {
6
+ }
7
+
8
+ #[test]
9
+ + #[cfg_attr(miri, ignore)] // test has UB (https://github.com/rust-lang/rust/issues/104565)
10
+ fn arc_from_vec_opt() {
11
+ let mut v = Vec::with_capacity(64);
12
+ v.push(0usize);
13
+ diff --git a/library/alloc/tests/rc.rs b/library/alloc/tests/rc.rs
14
+ index 1d5f3c52006..0a19162a402 100644
15
+ --- a/library/alloc/tests/rc.rs
16
+ +++ b/library/alloc/tests/rc.rs
17
+ @@ -208,6 +208,7 @@ fn hmm<'a>(val: &'a mut Weak<&'a str>) -> Weak<&'a str> {
18
+ }
19
+
20
+ #[test]
21
+ + #[cfg_attr(miri, ignore)] // test has UB (https://github.com/rust-lang/rust/issues/104565)
22
+ fn rc_from_vec_opt() {
23
+ let mut v = Vec::with_capacity(64);
24
+ v.push(0usize);
Original file line number Diff line number Diff line change 1
- nightly-2022-11-17
1
+ nightly-2022-11-19
You can’t perform that action at this time.
0 commit comments