Skip to content

Commit 6605b0c

Browse files
committed
update expected test output
1 parent b8e6566 commit 6605b0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/fail/leak_in_lib_tls.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ note: inside closure
1414
|
1515
LL | cell.set(Some(Box::leak(Box::new(123))));
1616
| ^^^^^^^^^^^^^
17-
= note: inside `std::thread::LocalKey::<std::cell::Cell<std::option::Option<&i32>>>::try_with::<[closure@$DIR/leak_in_lib_tls.rs:LL:CC], ()>` at RUSTLIB/std/src/thread/local.rs:LL:CC
18-
= note: inside `std::thread::LocalKey::<std::cell::Cell<std::option::Option<&i32>>>::with::<[closure@$DIR/leak_in_lib_tls.rs:LL:CC], ()>` at RUSTLIB/std/src/thread/local.rs:LL:CC
17+
= note: inside `std::thread::LocalKey::<std::cell::Cell<std::option::Option<&i32>>>::try_with::<{closure@$DIR/leak_in_lib_tls.rs:LL:CC}, ()>` at RUSTLIB/std/src/thread/local.rs:LL:CC
18+
= note: inside `std::thread::LocalKey::<std::cell::Cell<std::option::Option<&i32>>>::with::<{closure@$DIR/leak_in_lib_tls.rs:LL:CC}, ()>` at RUSTLIB/std/src/thread/local.rs:LL:CC
1919
note: inside closure
2020
--> $DIR/leak_in_lib_tls.rs:LL:CC
2121
|

0 commit comments

Comments
 (0)