rust/src/test/compile-fail
Alex Crichton 9a5f95a82c Implement a format_args!() macro
The purpose of this macro is to further reduce the number of allocations which
occur when dealing with formatting strings. This macro will perform all of the
static analysis necessary to validate that a format string is safe, and then it
will wrap up the "format string" into an opaque struct which can then be passed
around.

Two safe functions are added (write/format) which take this opaque argument
structure, unwrap it, and then call the unsafe version of write/format (in an
unsafe block). Other than these two functions, it is not intended for anyone to
ever look inside this opaque struct.

The macro looks a bit odd, but mostly because of rvalue lifetimes this is the
only way for it to be safe that I know of.

Example use-cases of this are:

* third-party libraries can use the default formatting syntax without any
  forced allocations
* the fail!() macro can avoid allocating the format string
* the logging macros can avoid allocation any strings
2013-09-12 00:36:54 -07:00
..
mod_file_disambig_aux
access-mode-in-closures.rs
ambig_impl_2_exe.rs Remove even more usage of clownshoes in symbols 2013-09-06 23:56:17 -07:00
ambig_impl_bounds.rs
ambig_impl_unify.rs Improve name mangling for gdb 2013-09-04 23:28:23 -07:00
arc-cant-nest-rw-arc-3177.rs Un-xfail/move/delete some tests. 2013-09-03 20:00:41 +10:00
arc-rw-cond-shouldnt-escape.rs
arc-rw-read-mode-shouldnt-escape.rs
arc-rw-state-shouldnt-escape.rs
arc-rw-write-mode-cond-shouldnt-escape.rs
arc-rw-write-mode-shouldnt-escape.rs
arg-count-mismatch.rs
arg-type-mismatch.rs
assign-imm-local-twice.rs
assign-to-method.rs
attempted-access-non-fatal.rs
attr-bad-crate-attr.rc
attr-bad-meta.rs
attr-before-ext.rs
attr-before-let.rs
attr-before-stmt.rs
attr-dangling-in-fn.rs
attr-dangling-in-mod.rs
attrs-after-extern-mod.rs rt: Move some test functions to rust_test_helpers 2013-08-23 18:38:59 -07:00
auto-ref-slice-plus-ref.rs
autoderef-full-lval.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-match.rs
bad-method-typaram-kind.rs
bad-mid-path-type-params.rs librustc: Ensure that type parameters are in the right positions in paths. 2013-08-27 18:47:57 -07:00
bad-module.rs
bad-name.rs
bad-type-env-capture.rs
bad-value-ident-false.rs
bad-value-ident-true.rs
bang-tailexpr.rs
bind-by-move-neither-can-live-while-the-other-survives-1.rs
bind-by-move-neither-can-live-while-the-other-survives-2.rs
bind-by-move-neither-can-live-while-the-other-survives-3.rs
bind-by-move-neither-can-live-while-the-other-survives-4.rs
bind-by-move-no-guards.rs
bind-by-move-no-sub-bindings.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-coerce-no-2.rs
block-coerce-no.rs
block-must-not-have-result-do.rs
block-must-not-have-result-res.rs
block-must-not-have-result-while.rs
bogus-tag.rs
borrowck-addr-of-upvar.rs
borrowck-anon-fields-struct.rs
borrowck-anon-fields-tuple.rs
borrowck-anon-fields-variant.rs
borrowck-assign-comp-idx.rs
borrowck-assign-comp.rs
borrowck-assign-to-andmut-in-aliasable-loc.rs Extend aliasability check to uncover & &mut &mut and the like 2013-08-27 15:45:19 -04:00
borrowck-assign-to-andmut-in-borrowed-loc.rs
borrowck-assign-to-constants.rs
borrowck-assign-to-enum.rs
borrowck-assign-to-subfield.rs
borrowck-auto-mut-ref-to-immut-var.rs
borrowck-autoref-3261.rs
borrowck-bad-nested-calls-free.rs
borrowck-bad-nested-calls-move.rs
borrowck-borrow-from-owned-ptr.rs
borrowck-borrow-from-stack-variable.rs
borrowck-borrow-mut-base-ptr-in-aliasable-loc.rs librustc: Remove &const and *const from the language. 2013-08-27 18:46:51 -07:00
borrowck-borrow-mut-object-twice.rs
borrowck-borrowed-uniq-rvalue-2.rs
borrowck-borrowed-uniq-rvalue.rs librustc: Fix problem with cross-crate reexported static methods. 2013-08-27 18:47:59 -07:00
borrowck-call-method-from-mut-aliasable.rs librustc: Remove &const and *const from the language. 2013-08-27 18:46:51 -07:00
borrowck-call-sendfn.rs
borrowck-imm-ref-to-mut-rec-field-issue-3162-c.rs
borrowck-insert-during-each.rs
borrowck-issue-2657-1.rs
borrowck-issue-2657-2.rs
borrowck-lend-flow-if.rs
borrowck-lend-flow-loop.rs
borrowck-lend-flow-match.rs
borrowck-lend-flow.rs librustc: Remove &const and *const from the language. 2013-08-27 18:46:51 -07:00
borrowck-loan-blocks-move-cc.rs
borrowck-loan-blocks-move.rs
borrowck-loan-blocks-mut-uniq.rs
borrowck-loan-in-overloaded-op.rs
borrowck-loan-local-as-both-mut-and-imm.rs
borrowck-loan-rcvr-overloaded-op.rs
borrowck-loan-rcvr.rs
borrowck-loan-vec-content.rs librustc: Remove &const and *const from the language. 2013-08-27 18:46:51 -07:00
borrowck-move-by-capture.rs
borrowck-move-from-unsafe-ptr.rs
borrowck-move-in-irrefut-pat.rs
borrowck-move-moved-value-into-closure.rs
borrowck-move-mut-base-ptr.rs
borrowck-move-out-of-struct-with-dtor.rs
borrowck-move-out-of-tuple-struct-with-dtor.rs
borrowck-move-out-of-vec-tail.rs
borrowck-mut-addr-of-imm-var.rs
borrowck-mut-boxed-vec.rs
borrowck-mut-deref-comp.rs
borrowck-mut-slice-of-imm-vec.rs
borrowck-no-cycle-in-exchange-heap.rs
borrowck-object-lifetime.rs
borrowck-object-mutability.rs
borrowck-pat-reassign-binding.rs
borrowck-reborrow-from-mut.rs
borrowck-ref-into-rvalue.rs
borrowck-ref-mut-of-imm.rs
borrowck-rvalues-mutable-bad.rs
borrowck-swap-mut-base-ptr.rs
borrowck-unary-move.rs
borrowck-uniq-via-lend.rs librustc: Remove &const and *const from the language. 2013-08-27 18:46:51 -07:00
borrowck-vec-pattern-element-loan.rs
borrowck-vec-pattern-loan-from-mut.rs
borrowck-vec-pattern-move-tail.rs
borrowck-vec-pattern-nesting.rs
borrowck-vec-pattern-tail-element-loan.rs
borrowck-wg-borrow-mut-to-imm-fail-2.rs
borrowck-wg-borrow-mut-to-imm-fail-3.rs
borrowck-wg-borrow-mut-to-imm-fail.rs
borrowck-wg-move-base-2.rs
box-static-bound.rs
break-outside-loop.rs
builtin-superkinds-double-superkind.rs
builtin-superkinds-in-metadata.rs
builtin-superkinds-self-type.rs
builtin-superkinds-simple.rs
builtin-superkinds-typaram-not-send.rs
by-move-pattern-binding.rs
call-extern-trait-as-function.rs
cant-implement-builtin-kinds.rs
capture1.rs
cast-as-bool.rs forbid cast as bool 2013-09-04 23:09:51 -04:00
cast-from-nil.rs
cast-immutable-mutable-trait.rs
cast-to-nil.rs
cast-vector-to-unsafe-nonstatic.rs
circular_modules_hello.rs
circular_modules_main.rs
class-cast-to-trait.rs
class-implements-bad-trait.rs
class-implements-int.rs
class-method-missing.rs
class-missing-self.rs
closure-bounds-cant-promote-superkind-in-struct.rs
closure-bounds-not-builtin.rs
closure-bounds-static-cant-capture-borrowed.rs
closure-bounds-subtype.rs
closure-that-fails.rs
coherence_inherent_cc.rs
coherence_inherent.rs
conflicting-implementations.rs
const-cast-different-types.rs
const-cast-wrong-type.rs
const-recursive.rs
copy-a-resource.rs
core-tls-store-pointer.rs
crateresolve1.rs
crateresolve2.rs
crateresolve5.rs
dead-code-ret.rs
deprecated-auto-code.rs
deref-non-pointer.rs
deriving-meta-unknown-trait.rs
die-not-static.rs
disallowed-deconstructing-destructing-struct-let.rs Un-xfail/move/delete some tests. 2013-09-03 20:00:41 +10:00
disallowed-deconstructing-destructing-struct-match.rs
do1.rs
do2.rs
do-lambda-requires-braces.rs
does-nothing.rs
drop-on-non-struct.rs
dup-link-name.rs
dup-struct-enum-struct-variant.rs
duplicate-visibility.rs
elided-test.rs
empty-linkname2.rs
empty-linkname.rs
empty-record-type.rs
empty-vec-trailing-comma.rs
enum-in-scope.rs
enums-pats-not-idents.rs
estr-subtyping.rs
eval-enum.rs
evec-subtyping.rs
explicit-call-to-dtor.rs
explicit-call-to-supertrait-dtor.rs
export2.rs
export-fully-qualified.rs
export-import.rs
export-tag-variant.rs
export.rs
ext-after-attrib.rs
ext-nonexistent.rs
extenv-arg-2-not-string-literal.rs
extenv-no-args.rs
extenv-not-defined-custom.rs
extenv-not-defined-default.rs
extenv-not-string-literal.rs
extenv-too-many-args.rs
extern-cstack-lint.rs
extern-main-fn.rs
extern-no-fn.rs
extern-wrong-value-type.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
extoption_env-no-args.rs
extoption_env-not-string-literal.rs
extoption_env-too-many-args.rs
fail-expr.rs
fail-simple.rs
fail-type-err.rs
float-literal-inference-restrictions.rs
fn-bad-block-type.rs
fn-compare-mismatch.rs
fn-variance-1.rs
fn-variance-2.rs
fn-variance-3.rs librustc: Remove &const and *const from the language. 2013-08-27 18:46:51 -07:00
foreign-unsafe-fn-called.rs
forget-init-unsafe.rs
fully-qualified-type-name1.rs
fully-qualified-type-name2.rs
fully-qualified-type-name3.rs
fully-qualified-type-name4.rs
functional-struct-update-noncopyable.rs Tests for fixed issues. 2013-09-03 20:00:42 +10:00
if-branch-types.rs
if-typeck.rs
if-without-else-result.rs
ifmt-bad-arg.rs Raise errors on format strings with unmatched } 2013-09-03 23:02:59 -07:00
ifmt-bad-format-args2.rs Implement a format_args!() macro 2013-09-12 00:36:54 -07:00
ifmt-bad-format-args.rs Implement a format_args!() macro 2013-09-12 00:36:54 -07:00
ifmt-bad-plural.rs Settle on the format/write/print family of names 2013-08-24 12:48:10 -07:00
ifmt-bad-select.rs Settle on the format/write/print family of names 2013-08-24 12:48:10 -07:00
ifmt-unimpl.rs Settle on the format/write/print family of names 2013-08-24 12:48:10 -07:00
ifmt-unknown-trait.rs Settle on the format/write/print family of names 2013-08-24 12:48:10 -07:00
immut-function-arguments.rs
impl-bounds-checking.rs
impl-duplicate-methods.rs
implicit-method-bind.rs
import2.rs
import3.rs
import4.rs
import-from-missing.rs
import-from-path.rs
import-from-rename.rs
import-glob-0.rs
import-glob-circular.rs
import-glob-path.rs
import-glob-rename.rs
import-loop-2.rs
import-loop.rs
import.rs
index_message.rs
infinite-instantiation.rs
infinite-tag-type-recursion.rs
infinite-vec-type-recursion.rs
integer-literal-suffix-inference.rs
issue-511.rs
issue-818.rs
issue-897-2.rs
issue-897.rs
issue-1362.rs
issue-1448-2.rs
issue-1451.rs
issue-1476.rs
issue-1655.rs
issue-1697.rs
issue-1802-1.rs
issue-1802-2.rs
issue-1871.rs
issue-1896-1.rs
issue-1900.rs
issue-1962.rs
issue-2063-resource.rs
issue-2063.rs
issue-2074.rs
issue-2111.rs
issue-2123.rs
issue-2149.rs
issue-2150.rs
issue-2151.rs
issue-2281-part1.rs
issue-2330.rs
issue-2354.rs
issue-2356.rs
issue-2370-2.rs
issue-2370.rs
issue-2478.rs
issue-2548.rs
issue-2590.rs
issue-2611-4.rs
issue-2611-5.rs
issue-2718-a.rs
issue-2823.rs
issue-2848.rs
issue-2849.rs
issue-2937.rs
issue-2951.rs Un-xfail/move/delete some tests. 2013-09-03 20:00:41 +10:00
issue-2969.rs
issue-2995.rs
issue-3021-b.rs
issue-3021-c.rs
issue-3021-d.rs
issue-3021.rs
issue-3036.rs
issue-3038.rs
issue-3044.rs
issue-3080.rs Un-xfail/move/delete some tests. 2013-09-03 20:00:41 +10:00
issue-3096-1.rs
issue-3096-2.rs
issue-3099-a.rs
issue-3099-b.rs
issue-3099.rs
issue-3154.rs
issue-3177-mutable-struct.rs
issue-3214.rs
issue-3243.rs
issue-3296.rs
issue-3344.rs
issue-3477.rs
issue-3521-2.rs
issue-3521.rs
issue-3563.rs
issue-3601.rs
issue-3668-2.rs
issue-3668.rs
issue-3680.rs
issue-3702-2.rs
issue-3707.rs
issue-3763
issue-3763.rs
issue-3820.rs
issue-3907.rs
issue-3953.rs
issue-3973.rs Un-xfail/move/delete some tests. 2013-09-03 20:00:41 +10:00
issue-3993-2.rs
issue-3993-3.rs
issue-3993.rs
issue-4265.rs
issue-4335.rs
issue-4366.rs
issue-4517.rs
issue-4523.rs
issue-4542.rs
issue-4736.rs
issue-4935.rs
issue-4968.rs
issue-4972.rs
issue-5035.rs
issue-5060-fail.rs
issue-5062.rs Un-xfail/move/delete some tests. 2013-09-03 20:00:41 +10:00
issue-5099.rs
issue-5100.rs
issue-5239-1.rs Add tests for ref in closure parameter list, closes #5239 2013-08-28 10:12:28 +02:00
issue-5358-1.rs
issue-5358.rs
issue-5439.rs
issue-5543.rs
issue-5544-a.rs
issue-5544-b.rs
issue-5844.rs
issue-5883.rs
issue-5927.rs
issue-6458-1.rs
issue-6458-2.rs
issue-6458-3.rs
issue-6458-4.rs
issue-6458.rs
issue-6596.rs
issue-6610.rs
issue-6642.rs
issue-6702.rs
issue-6762.rs
issue-6804.rs
issue-6977.rs Un-xfail/move/delete some tests. 2013-09-03 20:00:41 +10:00
issue-7013.rs
issue-7044.rs
issue-8615.rs
keyword-as-as-identifier.rs Add script and tests for using keywords as identifiers 2013-08-26 15:50:52 +02:00
keyword-break-as-identifier.rs Add script and tests for using keywords as identifiers 2013-08-26 15:50:52 +02:00
keyword-do-as-identifier.rs Add script and tests for using keywords as identifiers 2013-08-26 15:50:52 +02:00
keyword-else-as-identifier.rs Add script and tests for using keywords as identifiers 2013-08-26 15:50:52 +02:00
keyword-enum-as-identifier.rs Add script and tests for using keywords as identifiers 2013-08-26 15:50:52 +02:00
keyword-extern-as-identifier.rs Add script and tests for using keywords as identifiers 2013-08-26 15:50:52 +02:00
keyword-false-as-identifier.rs Add script and tests for using keywords as identifiers 2013-08-26 15:50:52 +02:00
keyword-fn-as-identifier.rs Add script and tests for using keywords as identifiers 2013-08-26 15:50:52 +02:00
keyword-for-as-identifier.rs Add script and tests for using keywords as identifiers 2013-08-26 15:50:52 +02:00
keyword-if-as-identifier.rs Add script and tests for using keywords as identifiers 2013-08-26 15:50:52 +02:00
keyword-impl-as-identifier.rs Add script and tests for using keywords as identifiers 2013-08-26 15:50:52 +02:00
keyword-let-as-identifier.rs Add script and tests for using keywords as identifiers 2013-08-26 15:50:52 +02:00
keyword-loop-as-identifier.rs Add script and tests for using keywords as identifiers 2013-08-26 15:50:52 +02:00
keyword-match-as-identifier.rs Add script and tests for using keywords as identifiers 2013-08-26 15:50:52 +02:00
keyword-mod-as-identifier.rs Add script and tests for using keywords as identifiers 2013-08-26 15:50:52 +02:00
keyword-mut-as-identifier.rs Add script and tests for using keywords as identifiers 2013-08-26 15:50:52 +02:00
keyword-priv-as-identifier.rs Add script and tests for using keywords as identifiers 2013-08-26 15:50:52 +02:00
keyword-pub-as-identifier.rs Add script and tests for using keywords as identifiers 2013-08-26 15:50:52 +02:00
keyword-ref-as-identifier.rs Add script and tests for using keywords as identifiers 2013-08-26 15:50:52 +02:00
keyword-return-as-identifier.rs Add script and tests for using keywords as identifiers 2013-08-26 15:50:52 +02:00
keyword-self-as-identifier.rs Add script and tests for using keywords as identifiers 2013-08-26 15:50:52 +02:00
keyword-static-as-identifier.rs Add script and tests for using keywords as identifiers 2013-08-26 15:50:52 +02:00
keyword-struct-as-identifier.rs Add script and tests for using keywords as identifiers 2013-08-26 15:50:52 +02:00
keyword-super-as-identifier.rs Add script and tests for using keywords as identifiers 2013-08-26 15:50:52 +02:00
keyword-super.rs
keyword-trait-as-identifier.rs Add script and tests for using keywords as identifiers 2013-08-26 15:50:52 +02:00
keyword-true-as-identifier.rs Add script and tests for using keywords as identifiers 2013-08-26 15:50:52 +02:00
keyword-type-as-identifier.rs Add script and tests for using keywords as identifiers 2013-08-26 15:50:52 +02:00
keyword-typeof.rs
keyword-unsafe-as-identifier.rs Add script and tests for using keywords as identifiers 2013-08-26 15:50:52 +02:00
keyword-use-as-identifier.rs Add script and tests for using keywords as identifiers 2013-08-26 15:50:52 +02:00
keyword-while-as-identifier.rs Add script and tests for using keywords as identifiers 2013-08-26 15:50:52 +02:00
keyword.rs
kindck-destructor-owned.rs
kindck-implicit-close-over-mut-var.rs
kindck-nonsendable-1.rs
kindck-owned-trait-contains.rs
kindck-owned-trait-scoped.rs
kindck-owned-trait.rs
kindck-owned.rs
lambda-mutate-nested.rs
lambda-mutate.rs
lint-change-warnings.rs
lint-ctypes.rs
lint-heap-memory.rs
lint-impl-fn.rs
lint-managed-heap-memory.rs
lint-missing-doc.rs
lint-non-camel-case-types.rs
lint-non-uppercase-statics.rs
lint-owned-heap-memory.rs
lint-qualification.rs
lint-stability.rs Implement support for indicating the stability of items. 2013-09-04 00:12:27 +10:00
lint-type-limits.rs
lint-unused-import-tricky-globs.rs Correct the sources of glob imports 2013-08-29 19:54:10 -07:00
lint-unused-import-tricky-names.rs
lint-unused-imports.rs
lint-unused-mut-variables.rs
lint-unused-unsafe.rs
liveness-and-init.rs
liveness-assign-imm-local-in-loop.rs
liveness-assign-imm-local-in-op-eq.rs
liveness-assign-imm-local-with-init.rs
liveness-bad-bang-2.rs
liveness-block-unint.rs
liveness-break-uninit-2.rs
liveness-break-uninit.rs
liveness-closure-require-ret.rs
liveness-dead.rs
liveness-forgot-ret.rs
liveness-if-no-else.rs
liveness-if-with-else.rs
liveness-init-in-called-fn-expr.rs
liveness-init-in-fn-expr.rs
liveness-init-in-fru.rs
liveness-init-op-equal.rs
liveness-init-plus-equal.rs
liveness-issue-2163.rs
liveness-missing-ret2.rs
liveness-move-call-arg.rs
liveness-move-in-loop.rs
liveness-move-in-while.rs
liveness-or-init.rs
liveness-return.rs
liveness-uninit-after-item.rs
liveness-uninit.rs
liveness-unused
liveness-unused.rs
liveness-use-after-move.rs
liveness-use-after-send.rs
liveness-use-in-index-lvalue.rs
liveness-while-break.rs
liveness-while-cond.rs
liveness-while.rs
loop-does-not-diverge.rs
lub-if.rs
lub-in-args.rs
lub-match.rs
macro-inner-attributes.rs
macro-local-data-key-priv.rs
macro-outer-attributes.rs
macro-with-seps-err-msg.rs
main-wrong-location.rs
main-wrong-type-2.rs
main-wrong-type.rs
map-types.rs librustc: Fix problem with cross-crate reexported static methods. 2013-08-27 18:47:59 -07:00
match-arrows-block-then-binop.rs
match-ill-type1.rs
match-ill-type2.rs
match-join.rs
match-non-exhaustive.rs
match-pattern-field-mismatch-2.rs
match-pattern-field-mismatch.rs
match-range-fail-dominate.rs
match-range-fail.rs
match-struct.rs
match-tag-nullary.rs
match-tag-unary.rs
match-vec-fixed.rs
match-vec-invalid.rs
match-vec-mismatch-2.rs
match-vec-mismatch.rs
match-vec-unreachable.rs
minus-string.rs
missing-derivable-attr.rs
missing-do.rs
missing-main.rs
missing-return.rs
mod_file_aux.rs
mod_file_correct_spans.rs
mod_file_disambig_aux.rs
mod_file_disambig.rs
mod_file_not_exist.rs
mod_file_with_path_attr.rs
moves-based-on-type-access-to-field.rs
moves-based-on-type-block-bad.rs
moves-based-on-type-capture-clause-bad.rs
moves-based-on-type-cyclic-types-issue-4821.rs
moves-based-on-type-distribute-copy-over-paren.rs
moves-based-on-type-exprs.rs
moves-based-on-type-match-bindings.rs
moves-based-on-type-move-out-of-closure-env-issue-1965.rs
moves-based-on-type-no-recursive-stack-closure.rs
moves-based-on-type-tuple.rs
moves-sru-moved-field.rs
multiline-comment-line-tracking.rs
multiple-main-2.rs
multiple-main-3.rs
multitrait.rs
mutable-class-fields-2.rs
mutable-class-fields.rs
mutable-enum.rs
mutable-struct.rs
mutex-arc-nested.rs Fixed docs and styles 2013-09-04 02:28:16 +02:00
name-clash-nullary-2.rs
name-clash-nullary.rs
nested-ty-params.rs
no-binary-float-literal.rs
no-capture-arc.rs
no-comment-balancing.rs
no-hex-float-literal.rs
no-implicit-prelude-nested.rs
no-implicit-prelude.rs
no-reuse-move-arc.rs
no-send-res-ports.rs
no-unsafe-self.rs Emit a better error for attempted unsafe-pointer-self. Close #8306. 2013-08-23 17:24:15 -04:00
noexporttypeexe.rs
nolink-with-link-args.rs
non_owned-enum.rs
non_owned-struct.rs
non-constant-expr-for-fixed-len-vec.rs
non-constant-expr-for-vec-repeat.rs
non-copyable-void.rs
non-exhaustive-match-nested.rs
non-exhaustive-match.rs
noncopyable-class.rs
nonscalar-cast.rs
not-a-pred.rs
not-enough-arguments.rs
not-utf8.bin
not-utf8.rs
object-does-not-impl-trait.rs
object-pointer-types.rs
obsolete-syntax.rs
occurs-check-3.rs
occurs-check.rs
omitted-arg-in-item-fn.rs
omitted-arg-wrong-types.rs
once-cant-call-twice-on-heap.rs
once-cant-call-twice-on-stack.rs
once-cant-move-out-of-non-once-on-heap.rs
once-cant-move-out-of-non-once-on-stack.rs
once-fn-subtyping.rs
or-patter-mismatch.rs
output-type-mismatch.rs
oversized-literal.rs
packed-struct-generic-transmute.rs
packed-struct-transmute.rs
pat-ref-enum.rs
pat-shadow-in-nested-binding.rs
pattern-error-continue.rs
pattern-tyvar-2.rs
pattern-tyvar.rs
pinned-deep-copy.rs
pptypedef.rs
prim-with-args.rs librustc: Ensure that type parameters are in the right positions in paths. 2013-08-27 18:47:57 -07:00
private_variant_2.rs
private-impl-method.rs
private-item-simple.rs
private-method-cross-crate.rs
private-method-inherited.rs
private-method.rs
private-struct-field-cross-crate.rs
private-struct-field-ctor.rs
private-struct-field-pattern.rs
private-struct-field.rs
private-variant-xc.rs librustc: Fix problem with cross-crate reexported static methods. 2013-08-27 18:47:59 -07:00
private-variant.rs
qquote-1.rs
qquote-2.rs
rcmut-not-const-and-not-owned.rs
recursive-enum.rs
redundant-link-args.rs
refutable-pattern-in-fn-arg.rs
regionck-closure-lifetimes.rs
regions-addr-of-arg.rs
regions-addr-of-self.rs
regions-addr-of-upvar-self.rs
regions-blk.rs
regions-bounds.rs librustc: Ensure that type parameters are in the right positions in paths. 2013-08-27 18:47:57 -07:00
regions-creating-enums3.rs
regions-creating-enums4.rs
regions-creating-enums.rs
regions-escape-bound-fn-2.rs
regions-escape-bound-fn.rs
regions-escape-loop-via-variable.rs
regions-escape-loop-via-vec.rs
regions-escape-via-trait-or-not.rs
regions-fn-bound.rs
regions-fn-subtyping.rs
regions-fns.rs
regions-free-region-ordering-callee.rs
regions-free-region-ordering-caller.rs
regions-free-region-ordering-incorrect.rs
regions-freevar.rs
regions-glb-free-free.rs
regions-in-consts.rs
regions-in-enums.rs
regions-in-structs.rs
regions-in-type-items.rs
regions-infer-at-fn-not-param.rs
regions-infer-borrow-scope-too-big.rs
regions-infer-borrow-scope-within-loop.rs
regions-infer-call-3.rs
regions-infer-contravariance-due-to-immutability.rs
regions-infer-contravariance-due-to-ret.rs
regions-infer-covariance-due-to-arg.rs
regions-infer-invariance-due-to-arg-and-ret.rs
regions-infer-invariance-due-to-mutability-1.rs
regions-infer-invariance-due-to-mutability-2.rs
regions-infer-invariance-due-to-mutability-3.rs
regions-infer-invariance-due-to-mutability-4.rs
regions-infer-invariance-due-to-mutability.rs
regions-infer-not-param.rs
regions-infer-paramd-indirect.rs
regions-infer-paramd-method.rs
regions-infer-region-in-fn-but-not-type.rs
regions-nested-fns-2.rs
regions-nested-fns.rs
regions-out-of-scope-slice.rs
regions-ref-in-fn-arg.rs
regions-ret-borrowed-1.rs
regions-ret-borrowed.rs
regions-ret.rs
regions-steal-closure.rs
regions-trait-1.rs
regions-trait-2.rs
regions-trait-3.rs
regions-var-type-out-of-scope.rs
repeat_count.rs
repeat-to-run-dtor-twice.rs
reserved-be.rs
resolve-inconsistent-binding-mode.rs librustc: Remove &const and *const from the language. 2013-08-27 18:46:51 -07:00
resolve-inconsistent-names.rs
resolve-unknown-trait.rs
ret-non-nil.rs
return-in-block-function.rs
selftype-traittype.rs
sendfn-is-not-a-lambda.rs
seq-args.rs
simd-type.rs
spawn-non-nil-fn.rs
static-assert2.rs
static-assert.rs
static-method-privacy.rs librustc: Ensure that type parameters are in the right positions in paths. 2013-08-27 18:47:57 -07:00
static-mut-bad-types.rs
static-mut-foreign-requires-unsafe.rs
static-mut-not-constant.rs
static-mut-not-pat.rs
static-mut-requires-unsafe.rs
static-region-bound.rs
static-vec-repeat-not-constant.rs
staticness-mismatch.rs
struct-base-wrong-type.rs
struct-fields-decl-dupe.rs
struct-fields-dupe.rs
struct-fields-missing.rs
struct-fields-too-many.rs
struct-like-enum-nonexhaustive.rs
struct-no-fields-2.rs
struct-no-fields-3.rs
struct-no-fields-4.rs
struct-no-fields-5.rs
struct-no-fields.rs
struct-pat-derived-error.rs
super-at-top-level.rs
suppressed-error.rs
sync-cond-shouldnt-escape.rs
sync-rwlock-cond-shouldnt-escape.rs
sync-rwlock-read-mode-shouldnt-escape.rs
sync-rwlock-write-mode-cond-shouldnt-escape.rs
sync-rwlock-write-mode-shouldnt-escape.rs
syntax-extension-bytes-non-ascii-char-literal.rs
syntax-extension-bytes-non-literal.rs
syntax-extension-bytes-too-large-integer-literal.rs
syntax-extension-bytes-too-large-u8-literal.rs
syntax-extension-bytes-too-small-integer-literal.rs
syntax-extension-bytes-too-small-u8-literal.rs
syntax-extension-bytes-unsupported-literal.rs
tag-that-dare-not-speak-its-name.rs
tag-type-args.rs
tag-variant-cast-non-nullary.rs
tag-variant-disr-dup.rs
tag-variant-disr-non-nullary.rs
tail-typeck.rs
terr-in-field.rs
terr-sorts.rs
test-cfg.rs
trait-bounds-cant-coerce.rs
trait-bounds-not-on-bare-trait.rs
trait-bounds-not-on-impl.rs
trait-bounds-not-on-struct.rs
trait-bounds-sugar.rs
trait-duplicate-methods.rs
trait-impl-can-not-have-untraitful-methods.rs
trait-impl-different-num-params.rs
trait-impl-method-mismatch.rs
trait-inheritance-missing-requirement.rs
trait-keyword.rs
trait-or-new-type-instead.rs
trait-test-2.rs
trait-test.rs
tuple-arity-mismatch.rs
tuple-struct-nonexhaustive.rs
tutorial-suffix-inference-test.rs
type-arg-out-of-scope.rs
type-mismatch-multiple.rs
type-mismatch.rs
type-parameter-names.rs
type-recursive.rs
type-shadow.rs
unbalanced-doublequote.rs
unconstrained-none.rs
unconstrained-ref.rs
uninhabited-enum-cast.rs
unique-object-noncopyable.rs
unique-pinned-nocopy.rs
unique-unique-kind.rs
unique-vec-res.rs
unop-neg-bool.rs
unreachable-arm.rs
unreachable-code.rs
unresolved-extern-mod-suggestion.rs
unresolved-import.rs
unsafe-fn-assign-deref-ptr.rs
unsafe-fn-autoderef.rs
unsafe-fn-called-from-safe.rs
unsafe-fn-deref-ptr.rs
unsafe-fn-used-as-value.rs
unsendable-class.rs
unsized-bare-typaram.rs
unsized-enum.rs
unsized-struct.rs
unsupported-cast.rs
use-after-move-based-on-type.rs
use-after-move-self-based-on-type.rs
use-after-move-self.rs
use-from-trait-xc.rs
use-from-trait.rs
use-meta-dup.rs
use-meta-mismatch.rs
use-meta.rc
useless-priv2.rs
useless-priv.rs
vec-add.rs
vec-field.rs
vec-mut-iter-borrow.rs
vec-res-add.rs
vector-no-ann.rs
view-items-at-top.rs Un-xfail/move/delete some tests. 2013-09-03 20:00:41 +10:00
vtable-res-trait-param.rs
warn-foreign-int-types.rs
warn-path-statement.rs
while-type-error.rs
writing-to-immutable-vec.rs
wrong-ret-type.rs
xc-private-method.rs librustc: Fix problem with cross-crate reexported static methods. 2013-08-27 18:47:59 -07:00
xcrate-unit-struct.rs