This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-04-29 19:47:38 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
14e59bb317
rust
/
tests
/
ui
/
macros
/
bad_hello.rs
7 lines
167 B
Rust
Raw
Normal View
History
Unescape
Escape
Update expression span when transcribing macro args closes #29084 closes #28308 closes #25385 closes #28288 closes #31011 closes #26480 closes #26093 closes #26094 closes #25386 closes #26237 closes #25793
2016-01-21 21:14:09 +00:00
fn
main
(
)
{
Improve suggestion for missing fmt str in println Avoid using `concat!(fmt, "\n")` to improve the diagnostics being emitted when the first `println!()` argument isn't a formatting string literal.
2018-07-15 03:50:30 +00:00
println!
(
3
+
4
)
;
//~^ ERROR format argument must be a string literal
println!
(
3
,
4
)
;
//~^ ERROR format argument must be a string literal
Update expression span when transcribing macro args closes #29084 closes #28308 closes #25385 closes #28288 closes #31011 closes #26480 closes #26093 closes #26094 closes #25386 closes #26237 closes #25793
2016-01-21 21:14:09 +00:00
}
Reference in New Issue
Copy Permalink