about summary refs log tree commit diff
path: root/src/tools/miri
diff options
context:
space:
mode:
authorJonathan Dönszelmann <jonathan@donsz.nl>2024-10-11 00:56:56 +0200
committerJonathan Dönszelmann <jonathan@donsz.nl>2024-10-11 10:04:22 +0200
commit0a9c87b1f5d871a3f2cc44c274a7bc72a486e69d (patch)
tree28af5cb71287dfa340682ebffd667a3aeb17cce8 /src/tools/miri
parent159e67d44646621f157f07b61f7d78f231c452c6 (diff)
downloadrust-0a9c87b1f5d871a3f2cc44c274a7bc72a486e69d.tar.gz
rust-0a9c87b1f5d871a3f2cc44c274a7bc72a486e69d.zip
rename RcBox in other places too
Diffstat (limited to 'src/tools/miri')
-rw-r--r--src/tools/miri/tests/fail/memleak_rc.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/miri/tests/fail/memleak_rc.stderr b/src/tools/miri/tests/fail/memleak_rc.stderr
index 820e10743bc..df12eeed6ac 100644
--- a/src/tools/miri/tests/fail/memleak_rc.stderr
+++ b/src/tools/miri/tests/fail/memleak_rc.stderr
@@ -1,8 +1,8 @@
 error: memory leaked: ALLOC (Rust heap, SIZE, ALIGN), allocated here:
   --> RUSTLIB/alloc/src/rc.rs:LL:CC
    |
-LL |                 Box::leak(Box::new(RcBox { strong: Cell::new(1), weak: Cell::new(1), value }))
-   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+LL |                 Box::leak(Box::new(RcInner { strong: Cell::new(1), weak: Cell::new(1), value }))
+   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: BACKTRACE:
    = note: inside `std::rc::Rc::<std::cell::RefCell<std::option::Option<Dummy>>>::new` at RUSTLIB/alloc/src/rc.rs:LL:CC