rust/src/test/compile-fail
Tim Chevalier 98260a2a22 Handle infinite-loop poststate correctly in typestate
If control passes an infinite loop (that doesn't have non-local
exits), then everything is true.
2012-03-10 20:15:27 -08:00
..
alt-join.rs
alt-range-fail-dominate.rs
alt-range-fail.rs
alt-tag-nullary.rs
alt-tag-unary.rs
and-init.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
arg-count-mismatch.rs
arg-style-mismatch.rs
arg-type-mismatch.rs
attempted-access-non-fatal.rs rustc: Make 'attempted access of field' error non-fatal 2012-01-27 16:58:27 -08:00
attr-bad-crate-attr.rc
attr-bad-meta.rs
attr-before-ext.rs
attr-before-let.rs
attr-before-stmt.rs
attr-before-view-item2.rs
attr-before-view-item.rs
attr-dangling-in-fn.rs
attr-dangling-in-mod.rs
auto-deref-bind.rs
autoderef-full-lval.rs
bad-alt.rs
bad-bang-ann-2.rs
bad-bang-ann-3.rs
bad-bang-ann.rs
bad-const-type.rs
bad-env-capture2.rs
bad-env-capture3.rs
bad-env-capture.rs
bad-expr-path2.rs
bad-expr-path.rs
bad-main.rs
bad-module.rs
bad-name.rs
bad-record-pat-2.rs
bad-record-pat.rs
bad-tag-export-2.rs
bad-tag-export-3.rs
bad-tag-export-4.rs
bad-tag-export.rs
bad-type-env-capture.rs
bad-var-env-capture-in-block-arg.rs
bang-tailexpr.rs
bind-stack-closure.rs make sure we do not bind unique closures (or blocks, for that matter) 2012-03-02 06:47:25 -08:00
bind-unique-closure.rs make sure we do not bind unique closures (or blocks, for that matter) 2012-03-02 06:47:25 -08:00
binop-add-ptr.rs
binop-add-tup-assign.rs
binop-add-tup.rs
binop-bitxor-str.rs
binop-logic-float.rs
binop-logic-int.rs
binop-mul-bool.rs
binop-typeck.rs
block-arg-as-stmt-with-value.rs
block-arg-used-as-lambda-with-illegal-cap.rs s/block()/fn()/g 2012-01-23 19:06:33 -08:00
block-coerce-no-2.rs
block-coerce-no.rs s/block()/fn()/g 2012-01-23 19:06:33 -08:00
block-copy.rs s/block()/fn()/g 2012-01-23 19:06:33 -08:00
block-deinitializes-upvar.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
block-must-not-have-result-do.rs
block-must-not-have-result-for.rs
block-must-not-have-result-res.rs
block-must-not-have-result-while.rs Add an infinite loop construct 2012-03-09 16:40:58 -08:00
block-require-return.rs s/block()/fn()/g 2012-01-23 19:06:33 -08:00
block-uninit.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
bogus-tag.rs
break-outside-loop.rs More rigorous reuse of cleanup sequences 2012-02-16 16:37:33 +01:00
break-uninit2.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
break-uninit.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
cap-clause-both-copy-and-move.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
cap-clause-double-copy.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
cap-clause-double-move.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
cap-clause-illegal-cap.rs s/block()/fn()/g 2012-01-23 19:06:33 -08:00
cap-clause-move-upvar.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
cap-clause-unresolved-copy.rs
cap-clause-unresolved-move.rs
cap-clause-use-after-move.rs
capture1.rs
cast-from-nil.rs
cast-to-nil.rs
constrained-type-missing-check.rs
copy-a-resource.rs
cross-crate-glob-collision.rs Fix bug in safe-reference checker 2012-02-15 11:53:32 +01:00
crust-no-bind.rs rustc: Typecheck crust functions as *u8 2012-02-14 11:24:09 -08:00
crust-no-call.rs rustc: Typecheck crust functions as *u8 2012-02-14 11:24:09 -08:00
crust-wrong-value-type.rs rustc: Typecheck crust functions as *u8 2012-02-14 11:24:09 -08:00
dead-code-be.rs
dead-code-ret.rs
deref-non-pointer.rs Improve a type error message (avoid the word 'non-dereferenceable') 2012-03-07 14:14:34 -08:00
do-while-constraints.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
do-while-pred-constraints.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
does-nothing.rs
dup-link-name.rs
elided-test.rs
empty-linkname2.rs
empty-linkname.rs
empty-record-type.rs
export2.rs
export-fully-qualified.rs
export-import.rs
export-tag-variant.rs
export.rs
ext-after-attrib.rs
ext-noname.rs Add support for parsing quasi-quotes, doesn't do anything useful yet. 2012-02-03 20:23:49 -07:00
ext-nonexistent.rs
extenv-no-args.rs
extenv-not-string-literal.rs
extenv-too-many-args.rs
extfmt-missing-type.rs
extfmt-no-args.rs
extfmt-non-literal2.rs
extfmt-non-literal.rs
extfmt-not-enough-args.rs
extfmt-too-many-args.rs
extfmt-unknown-type.rs
extfmt-unsigned-plus.rs
extfmt-unsigned-space.rs
extfmt-unterminated-conv.rs
fail-expr.rs
fail-simple.rs
fail-type-err.rs
fn-bad-block-type.rs
fn-bare-bind.rs
fn-bare-generic-instantiate1.rs
fn-bare-generic-instantiate2.rs
fn-compare-mismatch.rs
fn-constraint.rs Finish cleanup of core::str 2012-02-23 17:00:19 +01:00
fn-expr-type-state.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
fn-expr-typestate-2.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
for-loop-decl.rs
forgot-ret.rs
fru-extra-field.rs
fru-typestate.rs
fully-qualified-type-name1.rs remove leading ::, new tests 2012-02-13 06:50:58 -08:00
fully-qualified-type-name2.rs remove leading ::, new tests 2012-02-13 06:50:58 -08:00
fully-qualified-type-name3.rs remove leading ::, new tests 2012-02-13 06:50:58 -08:00
fully-qualified-type-name4.rs remove leading ::, new tests 2012-02-13 06:50:58 -08:00
if-branch-types.rs
if-check-precond-fail.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
if-typeck.rs
if-without-else-result.rs
iface-impl-different-num-params.rs correct error message and add to test 2012-02-13 07:33:16 -08:00
iface-test-2.rs Add compile-fail tests for interfaces/impls 2012-02-10 13:31:33 +01:00
iface-test.rs Add compile-fail tests for interfaces/impls 2012-02-10 13:31:33 +01:00
import2.rs
import3.rs
import4.rs
import5.rs
import-from-dup.rs
import-from-missing.rs
import-from-path.rs Refactor view_path to parse (but not yet process) export globs, unify code paths. 2012-02-17 23:05:20 -08:00
import-from-rename.rs Refactor view_path to parse (but not yet process) export globs, unify code paths. 2012-02-17 23:05:20 -08:00
import-glob-0.rs
import-glob-circular.rs
import-glob-export.rs
import-glob-multiple.rs
import-glob-path.rs Refactor view_path to parse (but not yet process) export globs, unify code paths. 2012-02-17 23:05:20 -08:00
import-glob-rename.rs Refactor view_path to parse (but not yet process) export globs, unify code paths. 2012-02-17 23:05:20 -08:00
import-loop-2.rs
import-loop.rs
import.rs
impure-pred.rs
infinite-tag-type-recursion.rs
infinite-vec-type-recursion.rs
issue-897-2.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
issue-897.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
issue-1362.rs test: Add no-reformat directive to compile-fail/issue-1362 2012-01-23 17:37:15 -08:00
issue-1448-1.rs Add regresion tests for issue #1448 and #1387. 2012-01-23 17:37:15 -08:00
issue-1448-2.rs Add regresion tests for issue #1448 and #1387. 2012-01-23 17:37:15 -08:00
issue-1655.rs rustc: Don't ignore attributes inside empty mods. Closes #1655 2012-02-22 21:47:23 -08:00
issue-1697.rs test: Add a test for #1697 2012-02-22 21:14:27 -08:00
issue-1802-1.rs test: Add tests for #1802 2012-02-10 15:43:35 -08:00
issue-1802-2.rs test: Add tests for #1802 2012-02-10 15:43:35 -08:00
issue-1900.rs Disallow type parameters in the main() function 2012-02-25 11:06:01 -08:00
lambda-mutate-nested.rs s/block()/fn()/g 2012-01-23 19:06:33 -08:00
lambda-mutate.rs
let-destruct-refutable.rs
macro-2.rs
macro.rs
main-wrong-type-2.rs
main-wrong-type.rs
map-types.rs stdlib: Stop incurring vtable dispatch costs when hashmaps are used 2012-03-07 17:35:13 -08:00
minus-string.rs Allow operator overloading of the indexing operator 2012-01-26 15:23:11 +01:00
missing-main.rs
missing-return2.rs Rewrite exhaustiveness checker 2012-02-15 15:47:42 +01:00
missing-return.rs
missingmod.rc
mode-inference-fail.rs add a test where mode inference ought to fail 2012-02-05 13:59:09 -08:00
move-arg.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
multiline-comment-line-tracking.rs
mutable-huh-box-assign.rs
mutable-huh-field-assign.rs
mutable-huh-ptr-assign.rs
mutable-huh-unique-assign.rs
mutable-huh-variance-box.rs
mutable-huh-variance-deep.rs
mutable-huh-variance-ptr.rs
mutable-huh-variance-rec.rs
mutable-huh-variance-unique.rs
mutable-huh-variance-vec1.rs
mutable-huh-variance-vec2.rs
mutable-huh-variance-vec3.rs
mutable-huh-vec-assign.rs
name-clash-nullary-2.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
name-clash-nullary.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
native-unsafe-fn-called.rs
native-unsafe-fn.rs
nested-ty-params.rs
no-constraint-prop.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
no-core-attribute.rs rustc: Switch the --no-core switch to a #[no_core] attribute 2012-01-26 16:43:33 -08:00
nolink-with-link-args.rs
non-exhaustive-match-nested.rs Rewrite exhaustiveness checker 2012-02-15 15:47:42 +01:00
non-exhaustive-match.rs Rewrite exhaustiveness checker 2012-02-15 15:47:42 +01:00
nonscalar-cast.rs
nonsense-constraints.rs
not-a-pred-2.rs
not-a-pred-check.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
not-a-pred.rs Improve error message for use of a non-pure-fn in a pred 2012-02-22 10:59:52 -08:00
not-pred-args.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
occurs-check-3.rs
occurs-check.rs Make occurs check in ty::fixup_vars more reliable 2012-01-27 18:58:52 +01:00
or-init.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
or-patter-mismatch.rs
output-type-mismatch.rs
oversized-literal.rs
param-by-value.rs
pattern-tyvar-2.rs Change option::t to option 2012-01-31 17:05:20 -08:00
pattern-tyvar.rs Change option::t to option 2012-01-31 17:05:20 -08:00
pinned-deep-copy.rs
pred-assign.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
pred-on-wrong-slots.rs
pred-swap.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
qquote-1.rs When parsing a source string, fail when the entire string is not parsed. 2012-02-14 19:37:33 -08:00
qquote-2.rs When parsing a source string, fail when the entire string is not parsed. 2012-02-14 19:37:33 -08:00
rec-extend.rs
rec-missing-fields.rs
record-with-resource.rs
recursive-enum.rs Properly check enum types for recursion 2012-01-27 16:03:43 +01:00
redundant-link-args.rs
ret-non-nil.rs
return-uninit.rs
sendfn-captures-nonsendable-state.rs
sendfn-is-not-a-lambda.rs
slot-as-pred.rs
spawn-non-nil-fn.rs
swap-no-lval.rs
swap-uninit.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
tag-exports-2.rs
tag-exports-3.rs
tag-exports.rs
tag-that-dare-not-speak-its-name.rs test: Update and un-xfail compile-fail/tag-that-dare-not... 2012-02-05 18:06:54 -08:00
tag-type-args.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
tag-variant-cast-non-nullary.rs
tag-variant-disr-dup.rs
tag-variant-disr-non-nullary.rs
tag-variant-disr-type-mismatch.rs
tail-non-call.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
tail-typeck.rs
type-arg-out-of-scope.rs
type-mismatch-multiple.rs
type-mismatch.rs
type-recursive.rs
type-shadow.rs
unbalanced-comment.rs
unbalanced-doublequote.rs
uninit-after-item.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
unique-mut.rs
unique-pinned-nocopy.rs
unique-unique-kind.rs
unique-vec-res.rs
unreachable-arm.rs
unsafe-alias-2.rs
unsafe-alias.rs
unsafe-alt.rs
unsafe-fn-assign-deref-ptr.rs
unsafe-fn-called-from-safe.rs
unsafe-fn-deref-ptr.rs
unsafe-fn-used-as-value.rs
unsafe-fn-used-in-bind.rs
unsafe-for.rs
unsafe-mutable-alias.rs
unsupported-cast.rs Remove native types from stdlib 2012-02-01 12:23:13 +01:00
unused-imports-warn.rs
use-after-move.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
use-after-send.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
use-meta-dup.rs
use-meta-mismatch.rs
use-meta.rc
use-uninit-2.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
use-uninit-3.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
use-uninit.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
vec-field.rs
vec-res-add.rs
vector-no-ann.rs
warn-native-int-types.rs
while-bypass.rs Add an infinite loop construct 2012-03-09 16:40:58 -08:00
while-expr.rs
while-loop-constraints.rs Add an infinite loop construct 2012-03-09 16:40:58 -08:00
while-loop-pred-constraints.rs Handle infinite-loop poststate correctly in typestate 2012-03-10 20:15:27 -08:00
while-type-error.rs
writing-through-read-alias.rs
writing-through-uninit-vec.rs rustc: Lower case error messages 2012-03-05 17:05:20 -08:00
writing-to-immutable-rec.rs
writing-to-immutable-vec.rs
wrong-ret-type.rs