about summary refs log tree commit diff
path: root/src/test/run-pass/const-fields-and-indexing.rs
AgeCommit message (Collapse)AuthorLines
2018-09-06Migrated slew of run-pass tests to various subdirectories of `ui/run-pass/`.Felix S. Klock II-34/+0
2015-03-26Mass rename uint/int to usize/isizeAlex Crichton-9/+9
Now that support has been removed, all lingering use cases are renamed.
2014-12-20Allow use of `[_ ; n]` syntax for fixed length and repeating arrays.Nick Cameron-1/+1
This does NOT break any existing programs because the `[_, ..n]` syntax is also supported.
2014-10-16Remove libdebug and update tests.Luqman Aden-5/+3
2014-10-09test: Convert statics to constantsAlex Crichton-4/+4
Additionally, add lots of tests for new functionality around statics and `static mut`.
2014-05-27Move std::{reflect,repr,Poly} to a libdebug crateAlex Crichton-0/+2
This commit moves reflection (as well as the {:?} format modifier) to a new libdebug crate, all of which is marked experimental. This is a breaking change because it now requires the debug crate to be explicitly linked if the :? format qualifier is used. This means that any code using this feature will have to add `extern crate debug;` to the top of the crate. Any code relying on reflection will also need to do this. Closes #12019 [breaking-change]
2013-09-26Update the compiler to not use printf/printflnAlex Crichton-3/+3
2013-08-17Fix warnings it testsErick Tryzelaar-2/+0
2013-07-24Change 'print(fmt!(...))' to printf!/printfln! in src/test/Birunthan Mohanathas-3/+3
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-0/+2
2013-05-19Use assert_eq! rather than assert! where possibleCorey Richardson-3/+3
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-3/+3
2013-03-26librustc: Remove all uses of the old `[T * N]` fixed-length vector syntaxPatrick Walton-1/+1
2013-03-22librustc: Remove the `const` declaration form everywherePatrick Walton-9/+8
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-3/+3
2013-03-06Add manual &self/ and &static/ and /&self declarations thatNiko Matsakis-1/+1
are currently inferred. New rules are coming that will require them to be explicit. All add some explicit self declarations.
2013-02-01check-fast fallout from removing export, r=burningtreeGraydon Hoare-1/+1
2013-01-26testsuite: Eliminate uses of structural records from most run-pass testsTim Chevalier-3/+8
Except the pipes tests (that needs a snapshot)
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+10
2012-10-20Remove old fixed-length vector syntaxBen Striegel-2/+2
2012-09-06Refactor trans to replace lvalue and friends with Datum.Niko Matsakis-0/+4
Also: - report illegal move/ref combos whether or not ref comes first - commented out fix for #3387, too restrictive and causes an ICE
2012-08-09Finish translating const indexing. Close #1417, close #570, close #571, ↵Graydon Hoare-9/+5
close #1272, close #2317.
2012-08-08Const field access (working) and vec indexing (almost). More for #2317.Graydon Hoare-0/+20