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
I expected panic! to behave like println! and warn me that I have a formatter argument that is unused. Tested with Rust 1.18.0.
println!
println!("{:p}");
error: invalid reference to argument `0` (no arguments given)
--> src/main.rs:2:5
|
2 | println!("{:p}");
| ^^^^^^^^^^^^^^^^^
|
= note: this error originates in a macro outside of the current crate