]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #33324 - birkenfeld:issue-30497, r=GuillaumeGomez
authorManish Goregaokar <manishsmail@gmail.com>
Mon, 2 May 2016 19:32:44 +0000 (01:02 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Tue, 3 May 2016 02:35:28 +0000 (08:05 +0530)
commit68c29e09044c5c5a2072fe113eca99099414a705
treefb52d67a50b26456c8d7c7a8d54d4f8739556ff8
parentc4d950d6d585c910b73f79cc0ac2ef4193d78777
parent0e89f55982bea0597b52eee75071caf0e686a449
Rollup merge of #33324 - birkenfeld:issue-30497, r=GuillaumeGomez

E0269: add suggestion to check for trailing semicolons

In situations where the value of the last expression must be inferred,
rustc will not emit the "you might need to remove the semicolon" warning,
so at least note this in the extended description.

Fixes: #30497
src/librustc/diagnostics.rs