You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/test/ui/suggestions/suggest-box.stderr
+2-2
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,8 @@ LL | | };
10
10
|
11
11
= note: expected type `std::boxed::Box<dyn std::ops::Fn() -> std::result::Result<(), ()>>`
12
12
found type `[closure@$DIR/suggest-box.rs:4:47: 7:6]`
13
-
= note: for more information about the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html and https://doc.rust-lang.org/std/boxed/index.html
14
-
help: you can store this in the heap calling `Box::new`
13
+
= note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html
14
+
help: store this in the heap by calling `Box::new`
0 commit comments