summary refs log tree commit diff
path: root/src/test/pretty
AgeCommit message (Collapse)AuthorLines
2014-03-22test: Remove Freeze / NoFreeze from testsFlavio Percoco-3/+3
2014-03-22Remove outdated and unnecessary std::vec_ng::Vec imports.Huon Wilson-1/+0
(And fix some tests.)
2014-03-21test: Make manual changes to deal with the fallout from removal ofPatrick Walton-73/+44
`~[T]` in test, libgetopts, compiletest, librustdoc, and libnum.
2014-03-21test: Automatically remove all `~[T]` from tests.Patrick Walton-14/+14
2014-02-27Fix a pretty printer crash on `/***`.Chris Morgan-0/+14
The pretty printer was treating block comments with more than two asterisks after the first slash (e.g. `/***`) as doc comments (which are attributes), whereas in actual fact they are just regular comments.
2014-02-14extern mod => extern crateAlex Crichton-1/+1
This was previously implemented, and it just needed a snapshot to go through
2014-02-11Change `xfail` directives in compiletests to `ignore`, closes #11363Florian Hahn-10/+10
2014-02-07Added tests to make tidyDerek Guenther-2/+44
2014-01-03test: De-`@mut` the test suitePatrick Walton-4/+9
2013-12-14Handle more cases in the heap lintsAlex Crichton-0/+2
2013-11-27Fix handling of upper/lowercase, and whitespaceFlorian Zeitz-9/+7
2013-11-27Update Unicode data to version 6.3Florian Zeitz-44/+44
2013-11-26librustc: Fix merge fallout.Patrick Walton-2/+2
2013-11-18librustc: Convert `~fn()` to `proc()` everywhere.Patrick Walton-1/+1
2013-10-31librustc: Implement `|A| -> B` syntax for closures and make bare `fn`Patrick Walton-4/+21
work
2013-10-22Drop the '2' suffix from logging macrosAlex Crichton-1/+1
Who doesn't like a massive renaming?
2013-10-22Activate checking code for ASM feature gate. Fix testsLéo Testard-0/+3
2013-10-08pp: add test for raw strs in non-expression positionsBenjamin Herr-0/+16
2013-09-30pretty: Remove usage of fmt!Alex Crichton-3/+3
2013-09-24auto merge of #9336 : alexcrichton/rust/issue-7981, r=catamorphismbors-5/+5
Progress on #7981 This doesn't completely close the issue because `struct A;` is still allowed, and it's a much larger change to disallow that. I'm also not entirely sure that we want to disallow that. Regardless, punting that discussion to the issue instead.
2013-09-24Stop accepting 'impl ...;', require {} insteadAlex Crichton-5/+5
Progress on #7981
2013-09-23test: Fix rustdoc and tests.Patrick Walton-14/+1
2013-09-17pp: also print bounds in paths with no generic paramsBenjamin Herr-0/+13
Since 3b6314c3 the pretty printer seems to only print trait bounds for `ast::ty_path(...)`s that have a generics arguments list. That seems wrong, so let's always print them. Closes #9253, un-xfails test for #7673.
2013-09-11Fix the empty-impl testsJakub-4/+4
Use an existing type so that it compiles.
2013-09-08Fix pretty-printing of empty impl itemsJakub-0/+10
2013-08-17Fix warnings it testsErick Tryzelaar-23/+25
2013-08-03remove obsolete `foreach` keywordDaniel Micay-3/+3
this has been replaced by `for`
2013-08-01migrate many `for` loops to `foreach`Daniel Micay-3/+3
2013-07-17Clean-up tests after debug!/std-macros change.Huon Wilson-1/+1
The entire testsuite is converted to using info! rather than debug! because some depend on the code within the debug! being trans'd.
2013-07-05Fix fallout from span changeSeo Sanghyeon-2/+19
2013-06-23vec: remove BaseIter implementationDaniel Micay-2/+2
I removed the `static-method-test.rs` test because it was heavily based on `BaseIter` and there are plenty of other more complex uses of static methods anyway.
2013-06-14fixed code to placate new restrictions on form of function/method invocations.Felix S. Klock II-4/+4
2013-06-13make pp file conform to actual output, noting some oddities along the way.Felix S. Klock II-30/+35
2013-06-13checkpoint block-comment-wchar state.Felix S. Klock II-2/+113
2013-06-13Fix #3961 : use char range methods instead of byte offsets to detect whitespace.Felix S. Klock II-0/+109
2013-05-27Change `alt` to `match` in filenames.Lindsey Kuper-0/+0
2013-05-19Use assert_eq! rather than assert! where possibleCorey Richardson-1/+1
2013-05-03add gitattributes and fix whitespace issuesDaniel Micay-1/+1
2013-04-10syntax: match variants use 4 space indent by defaultErick Tryzelaar-6/+6
2013-03-29Add AbiSet and integrate it into the AST.Niko Matsakis-1/+1
I believe this patch incorporates all expected syntax changes from extern function reform (#3678). You can now write things like: extern "<abi>" fn foo(s: S) -> T { ... } extern "<abi>" mod { ... } extern "<abi>" fn(S) -> T The ABI for foreign functions is taken from this syntax (rather than from an annotation). We support the full ABI specification I described on the mailing list. The correct ABI is chosen based on the target architecture. Calls by pointer to C functions are not yet supported, and the Rust type of crust fns is still *u8.
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-2/+2
2013-03-19test: Fix test. rs=testPatrick Walton-1/+1
2013-03-07test: Fix tests.Patrick Walton-3/+1
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-3/+3
2013-03-02test: Remove `fn@`, `fn~`, and `fn&` from the test suite. rs=defunPatrick Walton-1/+1
2013-03-02Fix some struct-tuple def prettyprint issuesSeth Pink-0/+10
- Removed space between struct name and parentheses - Fixed indentation of the rest of the file (missing end) - Don't print parentheses for structs with no fields - Added test
2013-02-28testsuite: Re-xfail record-trailing-commaTim Chevalier-0/+1
It was xfailed before the other commits in this pull request, so no big deal. I'll look into it later.
2013-02-28Remove code that was awaiting a snapshotTim Chevalier-3/+0
* Disallow structural records everywhere * Remove all #[cfg(stage0)] stuff * Remove the last deprecated modes in libcore * Un-xfail a test
2013-02-22test: De-mut the test suite. rs=demutingPatrick Walton-2/+2
2013-02-14auto merge of #4911 : lifthrasiir/rust/comment-exemptions, r=catamorphismbors-5/+24
This is a natural extension of #4887, and handles the following three cases: ~~~~ a line with only /s //////////////////////////////////////////// a line with only /s followed by whitespace //////////////////////////////////////////// a block comment with only *s between two /s /********************************/ ~~~~