]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #37695 - estebank:unescaped-curly, r=alexcrichton
authorEduard-Mihai Burtescu <edy.burt@gmail.com>
Sat, 12 Nov 2016 08:38:42 +0000 (10:38 +0200)
committerGitHub <noreply@github.com>
Sat, 12 Nov 2016 08:38:42 +0000 (10:38 +0200)
On fmt string with unescaped `{` note how to escape

On cases of malformed format strings where a `{` hasn't been properly escaped, like `println!("{");`, present a NOTE explaining how to escape the `{` char.

Fix #34300.

1  2 
src/libsyntax_ext/format.rs

Simple merge