aboutsummaryrefslogtreecommitdiff
path: root/src/test/compile-fail/break-uninit2.rs
Commit message (Collapse)AuthorAgeFilesLines
* Fix mistaken replacements in error-pattern comments in testsMarijn Haverbeke2011-05-121-1/+1
|
* Downcase std modules again, move to :: for module dereferencingMarijn Haverbeke2011-05-121-1/+1
| | | | This should be a snapshot transition.
* Enable typestate_checkTim Chevalier2011-04-281-1/+0
| | | | | Enable typestate checking (just for uninitialized vars) and un-XFAIL the relevant tests for stage0.
* Support all expression forms in typestateTim Chevalier2011-04-281-0/+22
Added support for self_method, cont, chan, port, recv, send, be, do_while, spawn, and ext; handled break and cont correctly. (However, there are no non-xfailed test cases for ext or spawn in stage0 currently.) Although the standard library compiles and all test cases pass with typestate enabled, I left typestate checking disabled as rustc terminates abnormally when building the standard library if so, even though it does generate code correctly.