]> git.lizzy.rs Git - rust.git/commit
Fix "consider removing this semicolon" help
authorJonas Schievink <jonas@schievink.net>
Sun, 3 Apr 2016 20:10:21 +0000 (22:10 +0200)
committerJonas Schievink <jonas@schievink.net>
Sun, 3 Apr 2016 20:12:48 +0000 (22:12 +0200)
commit0163ccc36bdd16f0d5c92dfb5625eb1121d16479
treefc413202dcd4d33b4943ea62f7c184a23a446bab
parentc0b8c438203ada8768f2f8ea7c750131744f97ef
Fix "consider removing this semicolon" help

Check last statement in a block, not the first
src/librustc/middle/liveness.rs
src/test/compile-fail/consider-removing-last-semi.rs [new file with mode: 0644]