summary refs log tree commit diff
path: root/src/test/compile-fail/static-assert2.rs
AgeCommit message (Collapse)AuthorLines
2014-06-29librustc: Remove the fallback to `int` for integers and `f64` forPatrick Walton-1/+1
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-03-28Convert most code to new inner attribute syntax.Brian Anderson-1/+1
Closes #2569
2014-02-07Added tests to make tidyDerek Guenther-0/+10
2013-12-08Add dead-code warning passKiet Tran-0/+2
2013-07-01rustc: add a lint to enforce uppercase statics.Huon Wilson-1/+1
2013-05-22Implement static_assert attributeCorey Richardson-0/+4
This verifies that a static item evaluates to true, at compile time.