summary refs log tree commit diff
path: root/src/test/run-pass/static-assert.rs
AgeCommit message (Collapse)AuthorLines
2014-06-29librustc: Remove the fallback to `int` for integers and `f64` forPatrick Walton-3/+3
floating point numbers for real. This will break code that looks like: let mut x = 0; while ... { x += 1; } println!("{}", x); Change that code to: let mut x = 0i; while ... { x += 1; } println!("{}", x); Closes #15201. [breaking-change]
2014-02-07Added tests to make tidyDerek Guenther-0/+10
2013-09-25Fix run-pass tests to have 'pub fn main'Alex Crichton-1/+1
This is required by the check-fast target because each test is slurped up into a submodule.
2013-05-22Implement static_assert attributeCorey Richardson-0/+14
This verifies that a static item evaluates to true, at compile time.