about summary refs log tree commit diff
path: root/src/test/compile-fail/issue-9575.rs
AgeCommit message (Collapse)AuthorLines
2018-07-15Move some `compile-fail` tests to `ui`Esteban Küber-17/+0
2016-05-02update test cases to reflect new messagesNiko Matsakis-1/+1
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
2015-01-06test fallout from isize/usizeCorey Richardson-2/+2
2014-12-22Fix fallout from changes. In cases where stage0 compiler is needed, weNiko Matsakis-1/+1
cannot use an `as` expression to coerce, so I used a one-off function instead (this is a no-op in stage0, but in stage1+ it triggers coercion from the fn pointer to the fn item type).
2014-06-28Rename all raw pointers as necessaryAlex Crichton-2/+2
2014-01-31Add test for sensible #[start] error message.Huon Wilson-0/+15
Fixes #9575.