about summary refs log tree commit diff
path: root/src/test/run-pass/generic-obj.rs
AgeCommit message (Collapse)AuthorLines
2012-01-13Remove tests for objs, adjust tests that use objsMarijn Haverbeke-23/+0
2012-01-05Switch to new param kind bound syntaxMarijn Haverbeke-1/+1
And remove support for the old syntax
2011-12-22Register new snapshots, purge log_err and log_full in favour of log(...).Graydon Hoare-3/+3
2011-12-22Register snapshots and switch logging over to use of log_full or #error / ↵Graydon Hoare-4/+4
#debug.
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-10-28Make shared kind the default only for generic functionsMarijn Haverbeke-1/+1
You almost never want a function with pinned type params. For types, objects, resources, and tags, pinned types are actually often more sane. For most of these, shared rarely makes sense. Only tricky case is objs -- you'll have to think about the kinds you want there. Issue #1076
2011-10-25Update our code to new type parameter kind syntaxMarijn Haverbeke-1/+1
Closes #1067
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-2/+2
Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit.
2011-08-23Add kind-checking for assign-op, copy, ret, be, fail exprs. Fix caught ↵Graydon Hoare-1/+1
kinding-violations in rustc and libstd.
2011-08-16Port the tests to the expr foo::<T> syntax.Erick Tryzelaar-1/+1
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-2/+2
2011-07-27Reformat for new syntaxMarijn Haverbeke-7/+7
2011-07-26Remove uses of tuples from the test suiteMarijn Haverbeke-2/+2
2011-06-15Reformat source tree (minus a couple tests that are still grumpy).Graydon Hoare-24/+19
2011-05-02Un-revert "Use different syntax for checks that matter to typestate", fixing ↵Patrick Walton-3/+3
the problem. This reverts commit d08b443fffb1181d8d45ae5d061412f202dd4118.
2011-05-02Revert "Use different syntax for checks that matter to typestate"Graydon Hoare-3/+3
This reverts commit aa25f22f197682de3b18fc4c8ba068d1feda220f. It broke stage2, not sure why yet.
2011-05-02Use different syntax for checks that matter to typestateTim Chevalier-3/+3
This giant commit changes the syntax of Rust to use "assert" for "check" expressions that didn't mean anything to the typestate system, and continue using "check" for checks that are used as part of typestate checking. Most of the changes are just replacing "check" with "assert" in test cases and rustc.
2011-01-26Fix bug in generic-obj.rs testcase.Graydon Hoare-1/+1
2010-07-26Adjust testcase to cover issue #91, which was actually fixed back in commit ↵Roy Frostig-0/+2
f02f9cbf29c2fdc28baeaa5a25671d9be29d6eab. Closes #91.
2010-06-29Work-around and un-XFAIL generic-obj.rs test. The problem uncovered in the ↵Roy Frostig-1/+1
original XFAIL is more generally that of issue #92.
2010-06-28Add to generic-obj.rs testcase a method that takes an argument of the object ↵Roy Frostig-0/+2
type-param type. XFAIL the test since it no longer passes.
2010-06-23Populate tree.Graydon Hoare-0/+24