rust/src/test/compile-fail
bors feb9f302ca auto merge of #14293 : alexcrichton/rust/weak-lang-items, r=brson
This commit is part of the ongoing libstd facade efforts (cc #13851). The
compiler now recognizes some language items as "extern { fn foo(...); }" and
will automatically perform the following actions:

1. The foreign function has a pre-defined name.
2. The crate and downstream crates can only be built as rlibs until a crate
   defines the lang item itself.
3. The actual lang item has a pre-defined name.

This is essentially nicer compiler support for the hokey
core-depends-on-std-failure scheme today, but it is implemented the same way.
The details are a little more hidden under the covers.

In addition to failure, this commit promotes the eh_personality and
rust_stack_exhausted functions to official lang items. The compiler can generate
calls to these functions, causing linkage errors if they are left undefined. The
checking for these items is not as precise as it could be. Crates compiling with
`-Z no-landing-pads` will not need the eh_personality lang item, and crates
compiling with no split stacks won't need the stack exhausted lang item. For
ease, however, these items are checked for presence in all final outputs of the
compiler.

It is quite easy to define dummy versions of the functions necessary:

    #[lang = "stack_exhausted"]
    extern fn stack_exhausted() { /* ... */ }

    #[lang = "eh_personality"]
    extern fn eh_personality() { /* ... */ }

cc #11922, rust_stack_exhausted is now a lang item
cc #13851, libcollections is blocked on eh_personality becoming weak
2014-05-20 21:36:25 -07:00
..
mod_file_disambig_aux
access-mode-in-closures.rs
ambig_impl_2_exe.rs
ambig_impl_bounds.rs
ambig_impl_unify.rs
ambig-default-method.rs
arg-count-mismatch.rs
arg-type-mismatch.rs
asm-gated.rs
asm-in-bad-modifier.rs
asm-misplaced-option.rs
asm-out-assign-imm.rs
asm-out-no-modifier.rs
asm-out-read-uninit.rs
assign-imm-local-twice.rs
assign-to-method.rs
assignment-operator-unimplemented.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
attr.rs
attrs-after-extern-mod.rs
auto-ref-slice-plus-ref.rs
autoderef-full-lval.rs
bad-bang-ann-3.rs
bad-bang-ann.rs
bad-char-literals2.rs
bad-char-literals3.rs
bad-char-literals4.rs
bad-char-literals.rs
bad-const-type.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
bad-crate-id.rs
bad-env-capture2.rs
bad-env-capture3.rs
bad-env-capture.rs
bad-expr-lhs.rs
bad-expr-path2.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
bad-expr-path.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
bad-extern-link-attrs.rs
bad-main.rs
bad-match.rs
bad-method-typaram-kind.rs
bad-mid-path-type-params.rs
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
bind-struct-early-modifiers.rs
binop-bitxor-str.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
binop-logic-float.rs
binop-logic-int.rs
binop-mul-bool.rs
binop-typeck.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-and-init.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
borrowck-assign-to-andmut-in-borrowed-loc.rs
borrowck-assign-to-constants.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-block-unint.rs
borrowck-borrow-from-owned-ptr.rs
borrowck-borrow-from-stack-variable.rs
borrowck-borrow-from-temporary.rs
borrowck-borrow-mut-base-ptr-in-aliasable-loc.rs
borrowck-borrow-mut-object-twice.rs
borrowck-borrow-overloaded-auto-deref-mut.rs
borrowck-borrow-overloaded-auto-deref.rs
borrowck-borrow-overloaded-deref-mut.rs
borrowck-borrow-overloaded-deref.rs
borrowck-borrowed-uniq-rvalue-2.rs
borrowck-borrowed-uniq-rvalue.rs
borrowck-break-uninit-2.rs
borrowck-break-uninit.rs
borrowck-call-is-borrow-issue-12224.rs
borrowck-call-method-from-mut-aliasable.rs
borrowck-call-sendfn.rs
borrowck-closures-mut-and-imm.rs
borrowck-closures-mut-of-imm.rs
borrowck-closures-two-mut.rs
borrowck-closures-unique.rs
borrowck-closures-use-after-free.rs
borrowck-forbid-static-unsafe-interior.rs
borrowck-if-no-else.rs
borrowck-if-with-else.rs
borrowck-imm-ref-to-mut-rec-field-issue-3162-c.rs
borrowck-init-in-called-fn-expr.rs
borrowck-init-in-fn-expr.rs
borrowck-init-in-fru.rs
borrowck-init-op-equal.rs
borrowck-init-plus-equal.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 Touch up and rebase previous commits 2014-05-13 17:24:08 -07:00
borrowck-lend-flow.rs
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
borrowck-managed-pointer-deref-scope.rs
borrowck-match-binding-is-assignment.rs
borrowck-move-by-capture.rs
borrowck-move-error-with-note.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
borrowck-move-from-subpath-of-borrowed-path.rs
borrowck-move-from-unsafe-ptr.rs
borrowck-move-in-irrefut-pat.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
borrowck-move-moved-value-into-closure.rs
borrowck-move-mut-base-ptr.rs
borrowck-move-out-of-overloaded-auto-deref.rs
borrowck-move-out-of-overloaded-deref.rs
borrowck-move-out-of-static-item.rs
borrowck-move-out-of-struct-with-dtor.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
borrowck-move-out-of-tuple-struct-with-dtor.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
borrowck-move-out-of-vec-tail.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
borrowck-move-subcomponent.rs
borrowck-mut-addr-of-imm-var.rs
borrowck-mut-borrow-of-mut-base-ptr.rs
borrowck-mut-slice-of-imm-vec.rs
borrowck-no-cycle-in-exchange-heap.rs
borrowck-object-lifetime.rs
borrowck-object-mutability.rs
borrowck-or-init.rs
borrowck-pat-reassign-binding.rs Touch up and rebase previous commits 2014-05-13 17:24:08 -07:00
borrowck-preserve-box-in-field.rs Touch up and rebase previous commits 2014-05-13 17:24:08 -07:00
borrowck-preserve-box-in-uniq.rs Touch up and rebase previous commits 2014-05-13 17:24:08 -07:00
borrowck-preserve-box.rs Touch up and rebase previous commits 2014-05-13 17:24:08 -07:00
borrowck-preserve-cond-box.rs
borrowck-preserve-expl-deref.rs Touch up and rebase previous commits 2014-05-13 17:24:08 -07:00
borrowck-reborrow-from-mut.rs
borrowck-reborrow-from-shorter-lived-andmut.rs
borrowck-ref-into-rvalue.rs
borrowck-ref-mut-of-imm.rs
borrowck-report-with-custom-diagnostic.rs
borrowck-return.rs
borrowck-struct-update-with-dtor.rs
borrowck-swap-mut-base-ptr.rs
borrowck-unary-move.rs
borrowck-uninit-after-item.rs
borrowck-uninit-in-assignop.rs
borrowck-uninit.rs
borrowck-uniq-via-lend.rs
borrowck-use-in-index-lvalue.rs
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-while-break.rs
borrowck-while-cond.rs
borrowck-while.rs
box-static-bound.rs
break-outside-loop.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
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 test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
call-extern-trait-as-function.rs
capture1.rs
cast-as-bool.rs
cast-from-nil.rs
cast-to-bare-fn.rs
cast-to-nil.rs
cast-vector-to-unsafe-nonstatic.rs
changing-crates.rs
check-static-immutable-mut-slices.rs
check-static-values-constraints.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
circular_modules_hello.rs
circular_modules_main.rs syntax: Tighten search paths for inner modules 2014-05-17 01:01:47 -07:00
class-cast-to-trait.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
class-implements-bad-trait.rs
class-method-missing.rs
class-missing-self.rs
cleanup-rvalue-scopes-cf.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-reform-bad.rs
closure-that-fails.rs
coerce-bare-fn-to-closure-and-proc.rs
coerce-unsafe-to-closure.rs
coherence_inherent_cc.rs
coherence_inherent.rs
column-offset-1-based.rs
comm-not-freeze.rs
concat.rs
conflicting-implementations-aux.rs
conflicting-implementations.rs
const-block-non-item-statement.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
deref-non-pointer.rs
deriving-bounds.rs
deriving-meta-unknown-trait.rs
deriving-no-inner-impl-error-message.rs
deriving-primitive.rs
deriving-span-Clone-enum-struct-variant.rs
deriving-span-Clone-enum.rs
deriving-span-Clone-struct.rs
deriving-span-Clone-tuple-struct.rs
deriving-span-Default-struct.rs
deriving-span-Default-tuple-struct.rs
deriving-span-Eq-enum-struct-variant.rs
deriving-span-Eq-enum.rs
deriving-span-Eq-struct.rs
deriving-span-Eq-tuple-struct.rs
deriving-span-Hash-enum-struct-variant.rs
deriving-span-Hash-enum.rs
deriving-span-Hash-struct.rs
deriving-span-Hash-tuple-struct.rs
deriving-span-Ord-enum-struct-variant.rs
deriving-span-Ord-enum.rs
deriving-span-Ord-struct.rs
deriving-span-Ord-tuple-struct.rs
deriving-span-Rand-enum-struct-variant.rs
deriving-span-Rand-enum.rs
deriving-span-Rand-struct.rs
deriving-span-Rand-tuple-struct.rs
deriving-span-Show-enum-struct-variant.rs
deriving-span-Show-enum.rs
deriving-span-Show-struct.rs
deriving-span-Show-tuple-struct.rs
deriving-span-TotalEq-enum-struct-variant.rs
deriving-span-TotalEq-enum.rs
deriving-span-TotalEq-struct.rs
deriving-span-TotalEq-tuple-struct.rs
deriving-span-TotalOrd-enum-struct-variant.rs
deriving-span-TotalOrd-enum.rs
deriving-span-TotalOrd-struct.rs
deriving-span-TotalOrd-tuple-struct.rs
deriving-span-Zero-struct.rs
deriving-span-Zero-tuple-struct.rs
disallowed-deconstructing-destructing-struct-let.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
disallowed-deconstructing-destructing-struct-match.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
does-nothing.rs
drop-on-non-struct.rs
dup-struct-enum-struct-variant.rs
duplicate-visibility.rs
elided-test.rs
empty-impl-semicolon.rs
empty-linkname.rs
enum-discrim-too-small.rs
enum-in-scope.rs
enums-pats-not-idents.rs
error-should-say-copy-not-pod.rs
estr-subtyping.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
eval-enum.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-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-expected-fn-or-brace.rs
extern-foreign-crate.rs
extern-main-fn.rs
extern-no-fn.rs
extern-wrong-value-type.rs
extoption_env-no-args.rs
extoption_env-not-string-literal.rs
extoption_env-too-many-args.rs
fail-simple.rs
float-literal-inference-restrictions.rs
fn-bad-block-type.rs
fn-compare-mismatch.rs
fn-variance-1.rs
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
future_not_copyable.rs
gated-bad-feature.rs
gated-concat_idents.rs
gated-default-type-param-usage.rs
gated-default-type-params.rs
gated-glob-imports.rs
gated-macro_registrar.rs
gated-macro-rules.rs
gated-non-ascii-idents.rs
gated-simd.rs
gated-struct-enums.rs
gated-trace_macros.rs
generic-extern.rs
generic-impl-less-params-with-defaults.rs
generic-impl-more-params-with-defaults.rs
generic-non-trailing-defaults.rs
generic-type-less-params-with-defaults.rs
generic-type-more-params-with-defaults.rs
generic-type-params-forward-mention.rs
generic-type-params-name-repr.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
glob-resolve1.rs
hygienic-label-1.rs
hygienic-label-2.rs
hygienic-label-3.rs
hygienic-label-4.rs
if-branch-types.rs
if-typeck.rs
if-without-else-result.rs
ifmt-bad-arg.rs
ifmt-bad-format-args2.rs
ifmt-bad-format-args.rs
ifmt-bad-plural.rs
ifmt-bad-select.rs
ifmt-unimpl.rs Updates with core::fmt changes 2014-05-15 23:22:06 -07:00
ifmt-unknown-trait.rs
immut-function-arguments.rs
impl-bounds-checking.rs
impl-duplicate-methods.rs
implicit-method-bind.rs
import2.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
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 test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
index_message.rs
indexing-requires-a-uint.rs
infinite-autoderef.rs
infinite-instantiation.rs
infinite-tag-type-recursion.rs
infinite-vec-type-recursion.rs
inherit-struct1.rs
inherit-struct2.rs
inherit-struct3.rs
inherit-struct4.rs
inherit-struct5.rs
inherit-struct6.rs
inherit-struct7.rs
inherit-struct8.rs
inherit-struct9.rs
inner-static-type-parameter.rs
integer-literal-suffix-inference.rs
integral-indexing.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
invalid-crate-type.rs
issue13359.rs
issue-897-2.rs
issue-897.rs
issue-1362.rs
issue-1448-2.rs
issue-1476.rs
issue-1655.rs
issue-1697.rs
issue-1802-1.rs
issue-1802-2.rs
issue-1871.rs
issue-1900.rs
issue-1962.rs
issue-2063-resource.rs
issue-2063.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
issue-2111.rs
issue-2123.rs
issue-2149.rs
issue-2150.rs
issue-2151.rs
issue-2281-part1.rs
issue-2330.rs
issue-2354-1.rs
issue-2354.rs
issue-2356.rs rustc: Improve error messages for resolve failures. 2014-05-14 19:18:18 +01:00
issue-2478.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
issue-2995.rs
issue-3008-1.rs
issue-3008-2.rs
issue-3008-3.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
issue-3096-1.rs
issue-3096-2.rs
issue-3099-a.rs
issue-3099-b.rs
issue-3099.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
issue-3154.rs
issue-3214.rs
issue-3344.rs
issue-3477.rs
issue-3521-2.rs
issue-3521.rs
issue-3563.rs
issue-3601.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
issue-3668-2.rs
issue-3668.rs
issue-3680.rs
issue-3702-2.rs
issue-3707.rs
issue-3763.rs
issue-3779.rs
issue-3820.rs
issue-3907.rs
issue-3953.rs
issue-3973.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
issue-3993-2.rs
issue-3993-3.rs
issue-3993.rs
issue-4265.rs
issue-4335.rs
issue-4366-2.rs
issue-4366.rs
issue-4517.rs
issue-4523.rs
issue-4736.rs
issue-4935.rs
issue-4968.rs
issue-4972.rs
issue-5035.rs
issue-5060-fail.rs
issue-5062.rs
issue-5099.rs
issue-5100.rs
issue-5153.rs
issue-5216.rs
issue-5239-1.rs
issue-5358-1.rs
issue-5439.rs
issue-5500-1.rs
issue-5543.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
issue-5544-a.rs
issue-5544-b.rs
issue-5806.rs
issue-5844.rs
issue-5883.rs Advice to use Box<T> not ~T 2014-05-18 15:30:41 +09:00
issue-5927.rs
issue-5997-enum.rs
issue-5997-struct.rs
issue-6458-1.rs
issue-6458-2.rs
issue-6458-3.rs
issue-6458-4.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
issue-6458.rs
issue-6596.rs
issue-6610.rs
issue-6642.rs
issue-6702.rs
issue-6738.rs
issue-6801.rs
issue-6804.rs
issue-6977.rs
issue-7013.rs
issue-7044.rs
issue-7061.rs
issue-7246.rs
issue-7364.rs
issue-7573.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
issue-7575.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
issue-7663.rs
issue-8153.rs
issue-8727.rs
issue-9243.rs
issue-9575.rs
issue-9725.rs
issue-9814.rs
issue-9957.rs
issue-10392-2.rs
issue-10392.rs
issue-10398.rs
issue-10401.rs
issue-10412.rs
issue-10465.rs
issue-10545.rs
issue-10636-1.rs
issue-10636-2.rs
issue-10656.rs
issue-10755.rs
issue-10877.rs
issue-11154.rs
issue-11192.rs
issue-11493.rs
issue-11515.rs
issue-11593.rs
issue-11680.rs
issue-11681.rs
issue-11692.rs
issue-11873.rs
issue-11908-1.rs
issue-11908-2.rs
issue-11925.rs
issue-12041.rs
issue-12127.rs
issue-12560-1.rs
issue-12560-2.rs
issue-12612.rs
issue-12997-1.rs
issue-12997-2.rs
issue-13404.rs
issue-13428.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
issue-13466.rs
issue-13599.rs
issue-13641.rs
issue-14221.rs rustc: Stop leaking enum variants into children 2014-05-16 16:16:57 -07:00
issue-14254.rs rustc: Better resolve errors for &T, &mut T, remove failure condition. 2014-05-20 01:08:05 +01:00
keyword-as-as-identifier.rs
keyword-break-as-identifier.rs
keyword-do-as-identifier.rs
keyword-else-as-identifier.rs
keyword-enum-as-identifier.rs
keyword-extern-as-identifier.rs
keyword-false-as-identifier.rs
keyword-fn-as-identifier.rs
keyword-for-as-identifier.rs
keyword-if-as-identifier.rs
keyword-impl-as-identifier.rs
keyword-let-as-identifier.rs
keyword-loop-as-identifier.rs
keyword-match-as-identifier.rs
keyword-mod-as-identifier.rs
keyword-mut-as-identifier.rs
keyword-priv-as-identifier.rs
keyword-pub-as-identifier.rs
keyword-ref-as-identifier.rs
keyword-return-as-identifier.rs
keyword-self-as-identifier.rs
keyword-static-as-identifier.rs
keyword-struct-as-identifier.rs
keyword-super-as-identifier.rs
keyword-super.rs
keyword-trait-as-identifier.rs
keyword-true-as-identifier.rs
keyword-type-as-identifier.rs
keyword-typeof.rs
keyword-unsafe-as-identifier.rs
keyword-use-as-identifier.rs
keyword-while-as-identifier.rs
keyword.rs
kindck-copy.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
kindck-destructor-owned.rs
kindck-nonsendable-1.rs
kindck-owned-trait-contains.rs
kindck-send.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
lex-bad-fp-base-1.rs
lex-bad-fp-base-2.rs
lex-bad-fp-base-3.rs
lex-bad-fp-base-4.rs
lex-bad-fp-base-5.rs
lex-bad-fp-base-6.rs
lex-bad-fp-base-7.rs
lex-bad-fp-base-8.rs
lex-bad-fp-base-9.rs
lex-bad-fp-lit.rs
lex-hex-float-lit.rs
lex-illegal-num-char-escape-2.rs
lex-illegal-num-char-escape.rs
lex-int-lit-too-large-2.rs
lex-int-lit-too-large.rs
lex-no-valid-digits-2.rs
lex-no-valid-digits.rs
lex-unknown-char-escape.rs
lex-unknown-start-tok.rs
lex-unknown-str-escape.rs
lex-unterminated-char-const.rs
lifetime-inference-give-expl-lifetime-param-2.rs
lifetime-inference-give-expl-lifetime-param.rs
lifetime-no-keyword.rs
lifetime-obsoleted-self.rs
linkage1.rs
linkage2.rs
linkage3.rs
lint-allocation.rs
lint-change-warnings.rs
lint-ctypes-enum.rs
lint-ctypes.rs
lint-dead-code-1.rs
lint-dead-code-2.rs
lint-dead-code-3.rs
lint-deprecated-owned-vector.rs
lint-directives-on-use-items-issue-10534.rs
lint-heap-memory.rs
lint-impl-fn.rs
lint-managed-heap-memory.rs
lint-misplaced-attr.rs
lint-missing-doc.rs
lint-non-camel-case-types.rs
lint-non-uppercase-statics.rs
lint-obsolete-attr.rs
lint-output-format.rs
lint-owned-heap-memory.rs
lint-qualification.rs
lint-raw-ptr-deriving.rs
lint-stability.rs
lint-type-limits.rs
lint-type-overflow.rs
lint-unknown-attr.rs
lint-unknown-feature.rs
lint-unnecessary-casts.rs
lint-unnecessary-parens.rs
lint-unsafe-block.rs
lint-unused-import-tricky-globs.rs
lint-unused-import-tricky-names.rs
lint-unused-imports.rs
lint-unused-mut-self.rs
lint-unused-mut-variables.rs
lint-unused-unsafe.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
lint-uppercase-variables.rs
lint-visible-private-types.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-closure-require-ret.rs
liveness-dead.rs
liveness-forgot-ret.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-return-last-stmt-semi.rs
liveness-unused.rs
liveness-use-after-move.rs
liveness-use-after-send.rs
log-syntax-gate.rs
loop-as-continue.rs
loop-does-not-diverge.rs
lub-if.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
lub-match.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
macro-bad-delimiter-ident.rs
macro-incomplete-parse.rs
macro-inner-attributes.rs
macro-local-data-key-priv.rs
macro-mismatched-delim-brace-paren.rs
macro-mismatched-delim-paren-brace.rs
macro-outer-attributes.rs
macro-with-seps-err-msg.rs
macros-nonfatal-errors.rs
main-wrong-location.rs
main-wrong-type-2.rs
main-wrong-type.rs
map-types.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
marker-no-copy.rs
marker-no-send.rs
marker-no-share.rs
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-static-const-lc.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 test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
match-vec-unreachable.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
method-call-err-msg.rs
method-missing-call.rs
minus-string.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
missing-derivable-attr.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_not_owning_aux1.rs syntax: Tighten search paths for inner modules 2014-05-17 01:01:47 -07:00
mod_file_not_owning_aux2.rs syntax: Tighten search paths for inner modules 2014-05-17 01:01:47 -07:00
mod_file_not_owning.rs syntax: Tighten search paths for inner modules 2014-05-17 01:01:47 -07:00
mod_file_with_path_attr.rs
moves-based-on-type-access-to-field.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
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 test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
moves-based-on-type-match-bindings.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
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-macro-registrars.rs
multiple-main-2.rs
multiple-main-3.rs
multitrait.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
mut-cant-alias.rs
mut-not-freeze.rs
mut-patterns.rs
mut-ptr-cant-outlive-ref.rs
mutable-class-fields-2.rs
mutable-class-fields.rs
mutable-enum-indirect.rs
name-clash-nullary-2.rs
name-clash-nullary.rs
nested-ty-params.rs
new-box-syntax-bad.rs
no_crate_type.rs
no_send-enum.rs
no_send-rc.rs std: Refactor liballoc out of lib{std,sync} 2014-05-17 21:52:23 -07:00
no_send-struct.rs
no_share-enum.rs
no_share-rc.rs
no_share-struct.rs
no-binary-float-literal.rs
no-capture-arc.rs
no-hex-float-literal.rs
no-implicit-prelude-nested.rs
no-implicit-prelude.rs
no-oct-float-literal.rs
no-reuse-move-arc.rs
no-send-res-ports.rs
no-unsafe-self.rs
noexporttypeexe.rs
nolink-with-link-args.rs
non-constant-enum-for-vec-repeat.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
non-str-meta.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
obsolete-tuple-struct-deref.rs
occurs-check-3.rs
occurs-check.rs
omitted-arg-in-item-fn.rs
once-cant-call-twice-on-heap.rs
once-cant-call-twice-on-stack.rs
once-cant-move-out-of-non-once-on-stack.rs
once-fn-subtyping.rs
or-patter-mismatch.rs
osx-frameworks.rs
output-type-mismatch.rs
oversized-literal.rs
owned-ptr-static-bound.rs
paamayim-nekudotayim.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
priv-in-bad-locations.rs
privacy1.rs
privacy2.rs
privacy3.rs
privacy4.rs
privacy5.rs
privacy-ns1.rs
privacy-ns2.rs
privacy-struct-variant.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
proc-bounds.rs
qquote-1.rs
qquote-2.rs
raw-str-delim.rs
raw-str-unbalanced.rs
raw-str-unterminated.rs
recursion.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-appearance-constraint.rs
regions-bound-lists-feature-gate.rs
regions-bounds.rs
regions-creating-enums3.rs
regions-creating-enums4.rs
regions-creating-enums.rs
regions-early-bound-error-method.rs
regions-early-bound-error.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-return-static.rs
regions-fn-subtyping.rs
regions-fns.rs
regions-free-region-ordering-callee.rs
regions-free-region-ordering-caller1.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-anon.rs
regions-in-enums.rs
regions-in-structs-anon.rs
regions-in-structs.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-decl.rs
regions-infer-covariance-due-to-decl.rs
regions-infer-invariance-due-to-decl.rs
regions-infer-invariance-due-to-mutability-3.rs
regions-infer-invariance-due-to-mutability-4.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-lifetime-of-struct-or-enum-variant.rs
regions-name-duplicated.rs
regions-name-static.rs
regions-name-undeclared.rs
regions-nested-fns-2.rs
regions-nested-fns.rs
regions-out-of-scope-slice.rs
regions-reborrow-from-shorter-mut-ref-mut-ref.rs
regions-reborrow-from-shorter-mut-ref.rs
regions-ref-in-fn-arg.rs
regions-ret-borrowed-1.rs
regions-ret-borrowed.rs
regions-ret.rs
regions-return-stack-allocated-vec.rs
regions-steal-closure.rs
regions-trait-1.rs
regions-trait-2.rs
regions-trait-3.rs
regions-undeclared.rs
regions-var-type-out-of-scope.rs
regions-variance-contravariant-use-covariant-in-second-position.rs
regions-variance-contravariant-use-covariant.rs
regions-variance-covariant-use-contravariant.rs
regions-variance-invariant-use-contravariant.rs
regions-variance-invariant-use-covariant.rs
removed-syntax-closure-lifetime.rs
removed-syntax-const-item.rs
removed-syntax-enum-newtype.rs
removed-syntax-extern-const.rs
removed-syntax-field-let.rs
removed-syntax-field-semicolon.rs
removed-syntax-fixed-vec.rs
removed-syntax-fn-pure.rs
removed-syntax-fn-sigil.rs
removed-syntax-larrow-init.rs
removed-syntax-larrow-move.rs
removed-syntax-mode.rs
removed-syntax-mut-vec-expr.rs
removed-syntax-mut-vec-ty.rs
removed-syntax-ptr-lifetime.rs
removed-syntax-record.rs
removed-syntax-static-fn.rs
removed-syntax-uniq-mut-expr.rs
removed-syntax-uniq-mut-ty.rs
removed-syntax-with-1.rs
removed-syntax-with-2.rs
repeat_count.rs
repeat-to-run-dtor-twice.rs
required-lang-item.rs
reserved-be.rs
resolve-inconsistent-binding-mode.rs
resolve-inconsistent-names.rs
resolve-priv-shadowing-pub.rs
resolve-unknown-trait.rs
ret-non-nil.rs
selftype-traittype.rs
seq-args.rs
simd-binop.rs
simd-experimental.rs
simd-type.rs
slightly-nice-generic-literal-messages.rs
spawn-non-nil-fn.rs
static-assert2.rs
static-assert.rs
static-items-cant-move.rs
static-method-privacy.rs
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-priv-by-default2.rs
static-priv-by-default.rs
static-region-bound.rs
static-vec-repeat-not-constant.rs
staticness-mismatch.rs
std-uncopyable-atomics.rs
struct-base-wrong-type.rs
struct-field-assignability.rs
struct-field-privacy.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
struct-pattern-match-useless.rs
super-at-top-level.rs
suppressed-error.rs
svh-change-lit.rs Some basic acceptance tests for better SVH. 2014-05-15 11:09:26 +02:00
svh-change-significant-cfg.rs Some basic acceptance tests for better SVH. 2014-05-15 11:09:26 +02:00
svh-change-trait-bound.rs Some basic acceptance tests for better SVH. 2014-05-15 11:09:26 +02:00
svh-change-type-arg.rs Added tests checking that changes in type sig are recognized in SVH. 2014-05-15 11:09:26 +02:00
svh-change-type-ret.rs Added tests checking that changes in type sig are recognized in SVH. 2014-05-15 11:09:26 +02:00
svh-change-type-static.rs Added tests checking that changes in type sig are recognized in SVH. 2014-05-15 11:09:26 +02:00
svh-use-trait.rs A test case for a bug I found in the new SVH while reviewing it. 2014-05-15 11:09:26 +02:00
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
syntax-extension-minor.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
task-rng-isnt-sendable.rs
terr-in-field.rs
terr-sorts.rs
test-cfg.rs
trace_macros-format.rs
trait-bounds-cant-coerce.rs
trait-bounds-not-on-bare-trait.rs Advice to use Box<T> not ~T 2014-05-18 15:30:41 +09:00
trait-bounds-not-on-impl.rs
trait-bounds-not-on-struct.rs
trait-bounds-sugar.rs
trait-coercion-generic-bad.rs
trait-coercion-generic-regions.rs
trait-duplicate-methods.rs
trait-impl-can-not-have-untraitful-methods.rs
trait-impl-different-num-params.rs
trait-impl-for-module.rs
trait-impl-method-mismatch.rs
trait-impl-of-supertrait-has-wrong-lifetime-parameters.rs
trait-keyword.rs
trait-or-new-type-instead.rs
trait-resolution-in-overloaded-op.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
typeck_type_placeholder_item.rs
typeck_type_placeholder_lifetime_1.rs
typeck_type_placeholder_lifetime_2.rs
typeck_type_placeholder_mismatch.rs
typeck-unsafe-always-share.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
unnecessary-private.rs
unop-neg-bool.rs
unreachable-arm.rs
unreachable-code.rs
unreachable-variant.rs
unresolved-extern-mod-suggestion.rs
unresolved-import.rs
unsafe-around-compiler-generated-unsafe.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
unsafe-modifying-str.rs
unsendable-class.rs test: Remove all uses of ~str from the test suite. 2014-05-14 14:58:00 -07:00
unsized2.rs
unsized3.rs
unsized4.rs
unsized5.rs
unsized6.rs
unsized-bare-typaram.rs
unsized-enum.rs
unsized-struct.rs
unsized.rs
unsupported-cast.rs
unused-result.rs
use-after-move-based-on-type.rs
use-after-move-implicity-coerced-object.rs Updates with core::fmt changes 2014-05-15 23:22:06 -07:00
use-after-move-self-based-on-type.rs
use-after-move-self.rs
use-from-trait-xc.rs
use-from-trait.rs
use-meta-mismatch.rs
use-meta.rc
useless-priv2.rs
useless-priv.rs
variadic-ffi-1.rs
variadic-ffi-2.rs
variadic-ffi-3.rs
variadic-ffi-4.rs
variadic-ffi.rs
variance-cell-is-invariant.rs
variance-regions-direct.rs
variance-regions-indirect.rs
vec-macro-with-comma-only.rs
vec-mut-iter-borrow.rs
vec-res-add.rs
vector-no-ann.rs
view-items-at-top.rs
vtable-res-trait-param.rs
warn-foreign-int-types.rs
warn-path-statement.rs
weak-lang-item.rs rustc: Add official support for weak failure 2014-05-19 11:04:44 -07:00
while-type-error.rs
writing-to-immutable-vec.rs
wrong-mul-method-signature.rs
wrong-ret-type.rs
xc-private-method2.rs
xc-private-method.rs
xcrate-private-by-default.rs
xcrate-unit-struct.rs