summary refs log tree commit diff
path: root/src/test/compile-fail
AgeCommit message (Collapse)AuthorLines
2012-10-08Revert "cap-clause-use-after-move: modernize error msg"Tim Chevalier-1/+3
This reverts commit bbda995bfe03680b6d621c6ab809ddb145125c3a.
2012-10-08Merge branch 'incoming' into snap-2012-10-05Tim Chevalier-3/+1
2012-10-08Revert "remove ctor from ast"Tim Chevalier-2/+2
This reverts commit ed3689d57c988e1dd477930d957c4308c37d1a64.
2012-10-08cap-clause-use-after-move: modernize error msgNiko Matsakis-3/+1
2012-10-08remove ctor from astNiko Matsakis-2/+2
2012-10-05Remove by-mutable-ref mode from the compilerTim Chevalier-8/+3
and test cases. Closes #3513
2012-10-05Demode some code using by-mutbl-ref; warn about by-mutbl-refTim Chevalier-18/+16
The parser now warns about use of mutbl-ref mode, though it's kind of a lie since this commit doesn't remove support for the mode. Changed move_val_init to have stage0 and stage1/2 versions, the latter of which is demoded. Changed the type that the typechecker expects the move_val_init intrinsic to have. After this is pushed, I can make a new snapshot, which will remove the need for the stage0 versions.
2012-10-04De-mode comm::ChanTim Chevalier-3/+3
2012-10-04Remove arg vectors from main functions. Stop supporting them.Brian Anderson-1/+1
2012-10-03test: Fix error message in vtable-res-trait-paramPatrick Walton-1/+1
2012-09-28Add a demoded version of ptr::addr_ofTim Chevalier-4/+4
Currently, the new version is ptr::p2::addr_of and the old one is ptr::addr_of. This is kind of cheesy, but I need a snapshot before I can ditch the old version, since the pipe compiler generates calls to addr_of. core is converted over to use the new version, std is not.
2012-09-28demode vecNiko Matsakis-2/+2
2012-09-26Demode vec::push (and convert to method)Niko Matsakis-1/+1
2012-09-26fix issue #3535 and add colon between mode and type when dumping funcion ↵Vincent Belliard-0/+14
prototype
2012-09-25Check more things with deprecated_modesBrian Anderson-0/+9
2012-09-25use + mode for (almost) everything when not using legacy modesNiko Matsakis-1/+1
2012-09-23Register snapshots. Remove redundant Eq impls, Makefile hacksBrian Anderson-24/+0
2012-09-23Make it illegal to use modes in a fn signature with providingNiko Matsakis-2/+2
an explicit variable name. (Step one to changing the defaults) First step to #3535
2012-09-21Install new pub/priv/export rules as defaults, old rules accessible under ↵Graydon Hoare-7/+68
#[legacy_exports];
2012-09-20Fix ord test breakage.Graydon Hoare-3/+3
2012-09-20rustc: De-mode all overloaded operatorsPatrick Walton-3/+37
2012-09-19demode the each() method on vec and other iterables.Niko Matsakis-1/+1
2012-09-19Remove redundant hashmap constructor functions.Graydon Hoare-1/+1
2012-09-19De-mode vec::each() and many of the str iteration routinesNiko Matsakis-5/+6
Note that the method foo.each() is not de-moded, nor the other vec routines.
2012-09-18Revert "replace explicit calls to vec::each with vec::each_ref, partially ↵Niko Matsakis-7/+6
demode str" This reverts commit 1be24f0758d3075d2e7f141f8831bb8a233ce86e. Not quite ready.
2012-09-18replace explicit calls to vec::each with vec::each_ref, partially demode strNiko Matsakis-6/+7
2012-09-18rustc: Remove legacy mode inference, unless #[legacy_modes] is usedPatrick Walton-2/+16
2012-09-18core: Move Exclusive and SharedMutableState to the private modBrian Anderson-1/+1
2012-09-18Change 'must' to 'should' in non_camel_case_types messageBrian Anderson-6/+6
2012-09-18Consolidate tests for non_camel_case_typesBrian Anderson-33/+24
2012-09-18Replace uses of 'unchecked' with 'unsafe'Brian Anderson-1/+1
2012-09-17warn(non_camel_case_types) by defaultBrian Anderson-5/+5
2012-09-14Remove restricted keyword testsBrian Anderson-12/+0
2012-09-12fixup mutability of vec::each, make iter_bytes pureNiko Matsakis-2/+2
also, change DVec() to work with imm vectors rather than mut ones
2012-09-11Introduce auto adjustment table to subsume autoderef/autoref/borrowings.Niko Matsakis-45/+85
Fixes #3261 Fixes #3443
2012-09-11Reserve 'be' as a keywordBrian Anderson-0/+4
2012-09-11Convert 'use' to 'extern mod'. Remove old 'use' syntaxBrian Anderson-46/+46
2012-09-11Improve unexpected error scanner for compile-fail tests (Closes #1476)Drew Willcoxon-0/+3
2012-09-11Remove priv sections from classes. Obsolete the syntaxBrian Anderson-18/+13
2012-09-10Convert 'import' to 'use'. Remove 'import' keyword.Brian Anderson-13/+10
2012-09-10Report obsolete trait lists on structsBrian Anderson-1/+8
2012-09-10Report obsolete class method syntaxBrian Anderson-0/+8
2012-09-10Convert std::map to camel caseBrian Anderson-10/+10
2012-09-10Convert class methods to impl methods. Stop parsing class methodsBrian Anderson-13/+52
2012-09-10Promote most restricted keywords to strict keywordsBrian Anderson-6/+9
2012-09-08libsyntax: Parse and report errors for a few obsolete syntaxesBrian Anderson-0/+40
2012-09-07Convert all kind bounds to camel case. Remove send, owned keywords.Brian Anderson-32/+32
2012-09-07Fix obsolete struct syntax in testBrian Anderson-1/+1
2012-09-07Migrate std::map to use core::hash::Hash trait. Disable many hokey hashes.Graydon Hoare-3/+1
2012-09-07Remove support for multiple traits in a single implTim Chevalier-0/+8
There was half-working support for them, but they were never fully implemented or even approved. Remove them altogether. Closes #3410