]> git.lizzy.rs Git - rust.git/commit
Add a distinct error code and description for "main function has wrong type"
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Wed, 4 Jan 2017 11:56:33 +0000 (12:56 +0100)
committerGuillaume Gomez <guillaume1.gomez@gmail.com>
Thu, 26 Jan 2017 10:12:46 +0000 (11:12 +0100)
commite7c3fb90eeda06c6ac2bed523ce8fa358d48505b
tree54b0a4b7fddf428cc8508057c05249119fe3b85b
parent2f0463a4a4f323c4deffc861349e38c6b5091782
Add a distinct error code and description for "main function has wrong type"
src/librustc/diagnostics.rs
src/librustc/infer/error_reporting.rs
src/test/compile-fail/E0308-3.rs [deleted file]
src/test/compile-fail/E0579.rs [new file with mode: 0644]
src/test/compile-fail/bad-main.rs
src/test/compile-fail/extern-main-fn.rs
src/test/compile-fail/main-wrong-type-2.rs
src/test/compile-fail/main-wrong-type.rs