]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #25252 - inrustwetrust:crate-type-attribute, r=alexcrichton
authorManish Goregaokar <manishsmail@gmail.com>
Sun, 10 May 2015 05:31:46 +0000 (11:01 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Sun, 10 May 2015 05:31:46 +0000 (11:01 +0530)
Fixes the problem in #16974 with unhelpful error messages when accidentally using the wrong syntax for the `crate_type="lib"` attribute. The attribute syntax error now shows up instead of "main function not found".

1  2 
src/librustc_driver/driver.rs

Simple merge