rust/src/test/compile-fail
Michael Sullivan d1298f768c Have bind support non-alias parametric non-bound arguments.
This was previously disallowed by the typechecker and not properly handled
in trans. I removed the typechecker check (replacing it with a simpler
check that spawned functions don't have type params) and fixed trans.
Closes #756.
2011-07-27 18:46:46 -07:00
..
alias-mismatch.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
aliasness-mismatch.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
alt-tag-nullary.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
alt-tag-unary.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
and-init.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
anon-obj-overloading-wrong-type.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
arg-count-mismatch.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
arg-type-mismatch.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
assign-alias.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
attr-bad-crate-attr.rc Support attaching attributes to modules via the crate file. Issue #487 2011-06-28 18:39:34 -07:00
attr-bad-meta.rs Fix damage done by the pretty-printer 2011-07-27 15:54:33 +02:00
attr-before-stmt.rs Fix damage done by the pretty-printer 2011-07-27 15:54:33 +02:00
attr-before-view-item.rs Fix damage done by the pretty-printer 2011-07-27 15:54:33 +02:00
attr-before-view-item2.rs Fix damage done by the pretty-printer 2011-07-27 15:54:33 +02:00
attr-dangling-in-fn.rs Fix damage done by the pretty-printer 2011-07-27 15:54:33 +02:00
attr-dangling-in-mod.rs Fix damage done by the pretty-printer 2011-07-27 15:54:33 +02:00
auto-deref-bind.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
bad-alt.rs Fix damage done by the pretty-printer 2011-07-27 15:54:33 +02:00
bad-bang-ann-2.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
bad-bang-ann-3.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
bad-bang-ann.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
bad-env-capture.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
bad-env-capture2.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
bad-env-capture3.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
bad-expr-path.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
bad-expr-path2.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
bad-main.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
bad-module.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
bad-name.rs Fix damage done by the pretty-printer 2011-07-27 15:54:33 +02:00
bad-record-pat-2.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
bad-record-pat.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
bad-recv.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
bad-send.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
bad-type-env-capture.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
binop-add-tup-assign.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
binop-add-tup.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
binop-bitxor-str.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
binop-logic-float.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
binop-logic-int.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
binop-mul-bool.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
binop-shift-port.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
binop-sub-obj.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
binop-typeck.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
block-coerce-no.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
block-copy.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
block-uninit.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
bogus-tag.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
break-outside-loop.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
break-uninit.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
break-uninit2.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
capture1.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
capture2.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
chan-parameterized-args.rs Have bind support non-alias parametric non-bound arguments. 2011-07-27 18:46:46 -07:00
constrained-type-missing-check.rs Fix damage done by the pretty-printer 2011-07-27 15:54:33 +02:00
constructor-as-cast.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
copy-a-resource.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
cross-crate-glob-collision.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
dead-code-be.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
dead-code-ret.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
direct-obj-fn-call.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
do-while-constraints.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
do-while-pred-constraints.rs Fix damage done by the pretty-printer 2011-07-27 15:54:33 +02:00
does-nothing.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
dup-link-name.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
duplicate-name.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
export-fully-qualified.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
export-import.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
export-no-tag-variants.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
export-tag-variant.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
export.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
export2.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
ext-after-attrib.rs Fix damage done by the pretty-printer 2011-07-27 15:54:33 +02:00
ext-noname.rs Fix damage done by the pretty-printer 2011-07-27 15:54:33 +02:00
ext-nonexistent.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
extend-non-object.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
extenv-no-args.rs Fix damage done by the pretty-printer 2011-07-27 15:54:33 +02:00
extenv-not-string-literal.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
extenv-too-many-args.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
extfmt-missing-type.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
extfmt-no-args.rs Fix damage done by the pretty-printer 2011-07-27 15:54:33 +02:00
extfmt-non-literal.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
extfmt-non-literal2.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
extfmt-not-enough-args.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
extfmt-too-many-args.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
extfmt-unknown-type.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
extfmt-unsigned-plus.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
extfmt-unsigned-space.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
extfmt-unterminated-conv.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
fail-expr.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
fail-simple.rs Fix damage done by the pretty-printer 2011-07-27 15:54:33 +02:00
fail-type-err.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
fn-bad-block-type.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
fn-compare-mismatch.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
fn-constraint.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
fn-expr-type-state.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
fn-expr-typestate-2.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
for-loop-decl.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
forgot-ret.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
fru-extra-field.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
fru-typestate.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
if-branch-types.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
if-check-precond-fail.rs Fix damage done by the pretty-printer 2011-07-27 15:54:33 +02:00
if-typeck.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
import-glob-0.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
import-glob-circular.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
import-glob-export.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
import-glob-multiple.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
import-loop-2.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
import-loop.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
import.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
import2.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
import3.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
import4.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
import5.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
impure-pred.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
infinite-tag-type-recursion.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
infinite-vec-type-recursion.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
item-name-overload.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
macro-2.rs Fix damage done by the pretty-printer 2011-07-27 15:54:33 +02:00
macro.rs Fix damage done by the pretty-printer 2011-07-27 15:54:33 +02:00
main-wrong-type-2.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
main-wrong-type.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
missing-main.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
missing-return.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
missing-return2.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
multiline-comment-line-tracking.rs Fix damage done by the pretty-printer 2011-07-27 15:54:33 +02:00
native-type-mismatch.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
nested-ty-params.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
no-constraint-prop.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
no-self-dispatch.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
not-a-pred-2.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
not-a-pred-3.rs Fix damage done by the pretty-printer 2011-07-27 15:54:33 +02:00
not-a-pred-check.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
not-a-pred.rs Fix damage done by the pretty-printer 2011-07-27 15:54:33 +02:00
not-pred-args.rs Fix damage done by the pretty-printer 2011-07-27 15:54:33 +02:00
or-init.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
or-patter-mismatch.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
output-type-mismatch.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
pattern-tyvar-2.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
pattern-tyvar.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
pred-assign.rs Fix damage done by the pretty-printer 2011-07-27 15:54:33 +02:00
pred-not-bool.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
pred-on-wrong-slots.rs Fix damage done by the pretty-printer 2011-07-27 15:54:33 +02:00
pred-swap.rs Fix damage done by the pretty-printer 2011-07-27 15:54:33 +02:00
put-in-fn.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
rec-extend.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
rec-missing-fields.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
ret-non-nil.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
return-uninit.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
self-call-non-obj.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
self-missing-method.rs Fix damage done by the pretty-printer 2011-07-27 15:54:33 +02:00
shadow.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
slot-as-pred.rs Fix damage done by the pretty-printer 2011-07-27 15:54:33 +02:00
spawn-non-nil-fn.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
swap-no-lval.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
swap-uninit.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
tag-type-args.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
tail-non-call.rs Fix damage done by the pretty-printer 2011-07-27 15:54:33 +02:00
tail-typeck.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
type-arg-out-of-scope.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
type-mismatch-multiple.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
type-mismatch.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
type-recursive.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
type-shadow.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
unbalanced-comment.rs Fix damage done by the pretty-printer 2011-07-27 15:54:33 +02:00
uninit-after-item.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
unreachable-arm.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
unsafe-alias-2.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
unsafe-alias.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
unsafe-alt.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
unsafe-for.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
unsafe-mutable-alias.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
use-after-move.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
use-meta-dup.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
use-meta-mismatch.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
use-meta.rc Re-enable tidy (it was broken) and fix various non-tidy things. 2011-06-29 15:14:55 -07:00
use-uninit-2.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
use-uninit-3.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
use-uninit-dtor.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
use-uninit.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
vec-field.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
vector-no-ann.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
while-bypass.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
while-expr.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
while-loop-constraints.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
while-loop-pred-constraints.rs Fix damage done by the pretty-printer 2011-07-27 15:54:33 +02:00
while-type-error.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
writing-through-read-alias.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
writing-through-uninit-vec.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
writing-to-immutable-obj.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
writing-to-immutable-rec.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
writing-to-immutable-vec.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00
wrong-ret-type.rs Reformat for new syntax 2011-07-27 15:54:33 +02:00