about summary refs log tree commit diff
path: root/src/test/compile-fail/repeat_count.rs
AgeCommit message (Collapse)AuthorLines
2018-08-14Moved compile-fail tests to ui tests.David Wood-49/+0
2016-12-28rustc: separate bodies for static/(associated)const and embedded constants.Eduard-Mihai Burtescu-18/+3
2016-08-11Improve &-ptr printingJonathan Turner-1/+1
2016-08-05Updated E0306 to new format.Federico Ravasio-5/+10
2016-07-28Move to {integer} and {float}Jonathan Turner-1/+1
2016-07-28Rename _ to {numerics} for unknown numeric typesJonathan Turner-1/+1
2016-07-23address review commentsAriel Ben-Yehuda-4/+2
I split the RFC1592 commit out
2016-07-22refactor constant evaluation error reportingAriel Ben-Yehuda-9/+10
Refactor constant evaluation to use a single error reporting function that reports a type-error-like message. Also, unify all error codes with the "constant evaluation error" message to just E0080, and similarly for a few other duplicate codes. The old situation was a total mess, and now that we have *something* we can further iterate on the UX.
2016-05-02update test cases to reflect new messagesNiko Matsakis-24/+17
2016-03-10also print the expected type in the error messageOliver Schneider-4/+8
2016-03-10typestrong constant integersOliver Schneider-2/+2
2016-01-18simplify E0308 message for primitive typeskalita.alexey-6/+0
2015-07-13simplify processing of ConstVal objects when not all variants are legalOliver Schneider-17/+28
2015-03-11Update testsAdolfo OchagavĂ­a-1/+1
2015-02-18Update suffixes en masse in tests using `perl -p -i -e`Niko Matsakis-2/+2
2015-02-16rustc: teach const_eval more about types.Eduard Burtescu-4/+14
2015-01-12Fix testsuite errorsmdinger-8/+27
2015-01-08Update compile-fail tests to use is/us, not i/u.Huon Wilson-1/+1
2015-01-06test fallout from isize/usizeCorey Richardson-4/+4
2014-12-20Allow use of `[_ ; n]` syntax for fixed length and repeating arrays.Nick Cameron-7/+7
This does NOT break any existing programs because the `[_, ..n]` syntax is also supported.
2014-11-16Update tests accordinglyJakub Bukaj-2/+3
2014-10-30Use the `_` representation for integral variables as wellJakub Bukaj-1/+1
2014-10-29Always drop var IDs from type variables modulo -Z verbose, per PR discussionJakub Bukaj-1/+1
2014-10-29Update tests with the new diagnostic tweaksJakub Bukaj-1/+1
2014-08-24Adjust the error messages to match the pattern "expected foo, found bar"Jonas Hietala-11/+11
Closes #8492
2014-08-08Adding test for issue #15917 which was previously fixed with #15709Falco Hirschenberger-0/+2
2014-06-24Test fixes from the rollupAlex Crichton-0/+4
Closes #14482 (std: Bring back half of Add on String) Closes #15026 (librustc: Remove the fallback to `int` from typechecking.) Closes #15119 (Add more description to c_str::unwrap().) Closes #15120 (Add tests for #12470 and #14285) Closes #15122 (Remove the cheat sheet.) Closes #15126 (rustc: Always include the morestack library) Closes #15127 (Improve ambiguous pronoun.) Closes #15130 (Fix #15129) Closes #15131 (Add the Guide, add warning to tutorial.) Closes #15134 (Xfailed tests for hygiene, etc.) Closes #15135 (core: Add stability attributes to Clone) Closes #15136 (Some minor improvements to core::bool) Closes #15137 (std: Add stability attributes to primitive numeric modules) Closes #15141 (Fix grammar in tutorial) Closes #15143 (Remove few FIXMEs) Closes #15145 (Avoid unnecessary temporary on assignments) Closes #15147 (Small improvements for metaprogramming) Closes #15153 (librustc: Check function argument patterns for legality of by-move) Closes #15154 (test: Add a test for regions, traits, and variance.) Closes #15159 (rustc: Don't register syntax crates twice) Closes #13816 (Stabilize version output for rustc and rustdoc)
2014-06-24Fix #15129Jakub Wieczorek-1/+7
Add support for unit literals to const_eval.
2014-03-21test: Make manual changes to deal with the fallout from removal ofPatrick Walton-1/+1
`~[T]` in test, libgetopts, compiletest, librustdoc, and libnum.
2014-03-21test: Automatically remove all `~[T]` from tests.Patrick Walton-1/+1
2013-02-25Report error for non constant vector repeat countJeong YunWon-0/+16
Fix issue #3645