summary refs log tree commit diff
path: root/src/test/compile-fail/static-assert.rs
AgeCommit message (Collapse)AuthorLines
2015-03-03Feature gate `#[static_assert]`.Huon Wilson-0/+1
The API this exposes is a little strange (being attached to `static`s), so it makes sense to conservatively feature gate it. If it is highly popular, it is possible to reverse this gating.
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/+5
This verifies that a static item evaluates to true, at compile time.