]> git.lizzy.rs Git - rust.git/commit
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)
commit87a62787232df4def8f1d100c80557d561a369f1
tree75a406e1ed09dfec01b5a090de1643ffb0df89b8
parent459652c832815118cf78c30f7a59cea99c43d308
parent8e8f8d9a5a35eb5875999efac7837956ed1b20da
Rollup merge of #25252 - inrustwetrust:crate-type-attribute, r=alexcrichton

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".
src/librustc_driver/driver.rs