about summary refs log tree commit diff
path: root/src/test/run-pass/vec-push.rs
AgeCommit message (Collapse)AuthorLines
2011-11-18Update stdlib, compiler, and tests to new kind systemMarijn Haverbeke-1/+1
This involved adding 'copy' to more generics than I hoped, but an experiment with making it implicit showed that that way lies madness -- unless enforced, you will not remember to mark functions that don't copy as not requiring copyable kind. Issue #1177
2011-11-16Replace 'mutable?' with 'const'Brian Anderson-1/+1
2011-10-25Update our code to new type parameter kind syntaxMarijn Haverbeke-1/+1
Closes #1067
2011-09-24Vectors containing pinned kinds become pinnedBrian Anderson-1/+1
Otherwise they could be copied
2011-09-12Pretty-print for new arg-mode syntaxMarijn Haverbeke-1/+1
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-1/+1
Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit.
2011-08-20ReformatBrian Anderson-2/+2
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-16Port the tests to the decl foo<T> syntax.Erick Tryzelaar-1/+1
2011-08-16Port the tests to the typaram foo<T> syntax.Erick Tryzelaar-1/+1
2011-08-12Convert most working tests to ivecsBrian Anderson-2/+2
I tried to pay attention to what was actually being tested so, e.g. when I test was just using a vec as a boxed thing, I converted to boxed ints, etc. Haven't converted the macro tests yet. Not sure what to do there.
2011-07-27Reformat for new syntaxMarijn Haverbeke-2/+2
2011-06-15Reformat source tree (minus a couple tests that are still grumpy).Graydon Hoare-7/+3
2011-06-10Fix unsafe uses of mutable referencesMarijn Haverbeke-2/+2
2011-05-16Rewrite everything to use [] instead of vec() in value position.Graydon Hoare-2/+2
2011-04-28Consider unop deref as an lval. Un-XFAIL vec-push.Graydon Hoare-3/+1
2011-04-28rustc: Add a testcase for vector push (mutable aliases with *, really)Patrick Walton-0/+11