about summary refs log tree commit diff
path: root/src/test/compile-fail/multiple-main-2.rs
AgeCommit message (Collapse)AuthorLines
2018-08-14Moved compile-fail tests to ui tests.David Wood-19/+0
2015-01-16syntax: Feature gate #[start] and #[main]Alex Crichton-0/+2
These two attributes are used to change the entry point into a Rust program, but for now they're being put behind feature gates until we have a chance to think about them a little more. The #[start] attribute specifically may have its signature changed. This is a breaking change to due the usage of these attributes generating errors by default now. If your crate is using these attributes, add this to your crate root: #![feature(start)] // if you're using the #[start] attribute #![feature(main)] // if you're using the #[main] attribute cc #20064
2014-07-18Assign more diagnostic codesJakub Wieczorek-1/+1
2013-01-14allowing the entry point name to be something other than mainILyoan-0/+17
add build tests