From: Manish Goregaokar Date: Tue, 5 Apr 2016 11:13:22 +0000 (+0530) Subject: Rollup merge of #32710 - jonas-schievink:consider-last-semi, r=nagisa X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=7d63422bb279f2fc430f38fb1d6c90987c86e0bf;p=rust.git Rollup merge of #32710 - jonas-schievink:consider-last-semi, r=nagisa Fix "consider removing this semicolon" help Check last statement in a block, not the first. Example of current weirdness: http://is.gd/w80J9h The help was only rarely emitted, and if so, often incorrectly (see above playpen). It was basically only useful with single-statement functions. --- 7d63422bb279f2fc430f38fb1d6c90987c86e0bf