rust/src/test/compile-fail
bors 82045ca360 auto merge of #18264 : jakub-/rust/var-ids-in-error-messages, r=nikomatsakis
This PR aims to improve the readability of diagnostic messages that involve unresolved type variables. Currently, messages like the following:

```rust
mismatched types: expected `core::result::Result<uint,()>`, found `core::option::Option<<generic #1>>`
<anon>:6     let a: Result<uint, ()> = None;
                                       ^~~~
mismatched types: expected `&mut <generic #2>`, found `uint`
<anon>:7     f(42u);
               ^~~
```

tend to appear unapproachable to new users. [0] While specific type var IDs are valuable in
diagnostics that deal with more than one such variable, in practice many messages
only mention one. In those cases, leaving out the specific number makes the messages
slightly less terrifying.

```rust
mismatched types: expected `core::result::Result<uint, ()>`, found `core::option::Option<_>`
<anon>:6     let a: Result<uint, ()> = None;
                                       ^~~~
mismatched types: expected `&mut _`, found `uint`
<anon>:7     f(42u);
               ^~~
```

As you can see, I also tweaked the aesthetics slightly by changing type variables to use the type hole syntax _. For integer variables, the syntax used is:

```rust
mismatched types: expected `core::result::Result<uint, ()>`, found `core::option::Option<_#1i>`
<anon>:6     let a: Result<uint, ()> = Some(1);
```

and float variables:

```rust
mismatched types: expected `core::result::Result<uint, ()>`, found `core::option::Option<_#1f>`
<anon>:6     let a: Result<uint, ()> = Some(0.5);
```

[0] https://twitter.com/coda/status/517713085465772032

Closes https://github.com/rust-lang/rust/issues/2632.
Closes https://github.com/rust-lang/rust/issues/3404.
Closes https://github.com/rust-lang/rust/issues/18426.
2014-10-31 11:16:44 +00:00
..
mod_file_disambig_aux
access-mode-in-closures.rs
arg-count-mismatch.rs
arg-type-mismatch.rs
array-not-vector.rs Update tests with the new diagnostic tweaks 2014-10-29 23:56:22 +01:00
asm-gated.rs
asm-in-bad-modifier.rs
asm-misplaced-option.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
asm-out-assign-imm.rs
asm-out-no-modifier.rs
asm-out-read-uninit.rs
asm-src-loc-codegen-units.rs
asm-src-loc.rs
assign-imm-local-twice.rs
assign-to-method.rs
assignment-operator-unimplemented.rs
associated-types-feature-gate.rs
associated-types-in-ambiguous-context.rs
associated-types-in-wrong-context.rs
attempted-access-non-fatal.rs
attr-bad-crate-attr.rc
attr-bad-meta.rs
attr-before-eof.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 Update tests with the new error messages 2014-10-28 17:54:16 +01:00
bad-bang-ann.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
bad-char-literals.rs
bad-const-type.rs
bad-crate-id2.rs
bad-crate-id.rs
bad-env-capture2.rs
bad-env-capture3.rs
bad-env-capture.rs
bad-expr-lhs.rs
bad-expr-path2.rs
bad-expr-path.rs
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-sized.rs
bad-type-env-capture.rs
bad-value-ident-false.rs
bad-value-ident-true.rs
bang-tailexpr.rs Update tests with the new error messages 2014-10-28 17:54:16 +01:00
bind-by-move-neither-can-live-while-the-other-survives-2.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
bind-by-move-neither-can-live-while-the-other-survives-3.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
bind-by-move-neither-can-live-while-the-other-survives-4.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
bind-by-move-no-guards.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
bind-struct-early-modifiers.rs
binop-bitxor-str.rs
binop-fail-3.rs Update infrastructure for fail -> panic 2014-10-29 16:06:13 -04: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
borrow-immutable-upvar-mutation.rs
borrow-tuple-fields.rs
borrowck-and-init.rs
borrowck-anon-fields-struct.rs
borrowck-anon-fields-tuple.rs
borrowck-anon-fields-variant.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
borrowck-array-double-move.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 Rename fail! to panic! 2014-10-29 11:43:07 -04:00
borrowck-bad-nested-calls-free.rs
borrowck-bad-nested-calls-move.rs
borrowck-block-unint.rs
borrowck-borrow-from-owned-ptr.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
borrowck-borrow-from-stack-variable.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
borrowck-borrow-from-temporary.rs
borrowck-borrow-immut-deref-of-box-as-mut.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-box-insensitivity.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-imm.rs
borrowck-closures-unique.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
borrowck-closures-use-after-free.rs
borrowck-field-sensitivity.rs
borrowck-for-loop-correct-cmt-for-pattern.rs
borrowck-for-loop-head-linkage.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-issue-14498.rs
borrowck-lend-flow-if.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
borrowck-lend-flow-loop.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
borrowck-lend-flow-match.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
borrowck-lend-flow.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
borrowck-let-suggestion.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 Rename fail! to panic! 2014-10-29 11:43:07 -04:00
borrowck-loan-rcvr-overloaded-op.rs
borrowck-loan-rcvr.rs
borrowck-loan-vec-content.rs
borrowck-match-binding-is-assignment.rs
borrowck-move-by-capture.rs
borrowck-move-error-with-note.rs
borrowck-move-from-subpath-of-borrowed-path.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-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
borrowck-move-out-of-tuple-struct-with-dtor.rs
borrowck-move-out-of-vec-tail.rs
borrowck-move-subcomponent.rs
borrowck-multiple-captures.rs
borrowck-mut-addr-of-imm-var.rs
borrowck-mut-borrow-of-mut-base-ptr.rs
borrowck-mut-slice-of-imm-vec.rs
borrowck-mutate-in-guard.rs
borrowck-no-cycle-in-exchange-heap.rs
borrowck-object-lifetime.rs
borrowck-object-mutability.rs
borrowck-or-init.rs
borrowck-overloaded-call.rs
borrowck-overloaded-index-2.rs
borrowck-overloaded-index.rs
borrowck-pat-reassign-binding.rs
borrowck-reborrow-from-mut.rs
borrowck-reborrow-from-shorter-lived-andmut.rs
borrowck-ref-into-rvalue.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
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-unboxed-closures.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-use-mut-borrow.rs
borrowck-vec-pattern-element-loan.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
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 Rename fail! to panic! 2014-10-29 11:43:07 -04:00
borrowck-while-break.rs
borrowck-while-cond.rs
borrowck-while.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
byte-literals.rs
byte-string-literals.rs
cannot-mutate-captured-non-mut-var.rs
capture1.rs
cast-as-bool.rs
cast-from-nil.rs
cast-to-bare-fn.rs
cast-to-nil.rs
changing-crates.rs
check-static-immutable-mut-slices.rs
check-static-values-constraints.rs
circular_modules_hello.rs
circular_modules_main.rs
class-cast-to-trait.rs
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 Rename fail! to panic! 2014-10-29 11:43:07 -04:00
coerce-bare-fn-to-closure-and-proc.rs Test fixes and rebase conflicts 2014-10-30 17:37:56 -07:00
coerce-unsafe-to-closure.rs
coherence_inherent_cc.rs
coherence_inherent.rs
coherence-blanket-conflicts-with-blanket-implemented.rs
coherence-blanket-conflicts-with-blanket-unimplemented.rs
coherence-blanket-conflicts-with-specific-cross-crate.rs
coherence-blanket-conflicts-with-specific-multidispatch.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
coherence-blanket-conflicts-with-specific-trait.rs
coherence-blanket-conflicts-with-specific.rs
coherence-cross-crate-conflict.rs
coherence-orphan.rs
coherence-tuple-conflict.rs
column-offset-1-based.rs
comm-not-freeze.rs
concat.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
crate-name-mismatch.rs
crateresolve1.rs
cross-borrow-trait.rs
dead-code-closure-bang.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
dead-code-ret.rs
deref-non-pointer.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
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-Hash-enum-struct-variant.rs
deriving-span-Hash-enum.rs
deriving-span-Hash-struct.rs
deriving-span-Hash-tuple-struct.rs
deriving-span-PartialEq-enum-struct-variant.rs
deriving-span-PartialEq-enum.rs
deriving-span-PartialEq-struct.rs
deriving-span-PartialEq-tuple-struct.rs
deriving-span-PartialOrd-enum-struct-variant.rs
deriving-span-PartialOrd-enum.rs
deriving-span-PartialOrd-struct.rs
deriving-span-PartialOrd-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
destructure-trait-ref.rs
disallowed-deconstructing-destructing-struct-let.rs
disallowed-deconstructing-destructing-struct-match.rs
doc-before-attr.rs
doc-before-eof.rs
doc-before-extern-rbrace.rs
doc-before-macro.rs
doc-before-rbrace.rs
doc-before-semi.rs
does-nothing.rs
drop-on-non-struct.rs
drop-with-active-borrows-1.rs
drop-with-active-borrows-2.rs
dst-bad-assign-2.rs
dst-bad-assign.rs
dst-bad-coerce1.rs
dst-bad-coerce2.rs
dst-bad-coerce3.rs
dst-bad-coerce4.rs
dst-bad-coercions.rs
dst-bad-deep.rs
dst-rvalue.rs
dst-sized-trait-param.rs
dup-struct-enum-struct-variant.rs
duplicate-parameter.rs
duplicate-type-parameter.rs
duplicate-visibility.rs
elided-test.rs
empty-extern-arg.rs
empty-impl-semicolon.rs
empty-linkname.rs
enum-and-module-in-same-scope.rs
enum-discrim-too-small.rs
enum-in-scope.rs
enum-to-float-cast.rs
enum-variant-type-2.rs
enum-variant-type.rs
enums-pats-not-idents.rs
error-should-say-copy-not-pod.rs
estr-subtyping.rs
eval-enum.rs
explicit-call-to-dtor.rs
explicit-call-to-supertrait-dtor.rs
explicit-self-lifetime-mismatch.rs Update tests with the new diagnostic tweaks 2014-10-29 23:56:22 +01:00
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-crate-as-no-string-help.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-no-dead-code-core.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
fail-no-dead-code.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
fail-simple.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
feature-gate-advanced-slice-features.rs
feature-gate-intrinsics-and-lang-items.rs
float-literal-inference-restrictions.rs
fn-bad-block-type.rs
fn-compare-mismatch.rs
fn-variance-1.rs
for-loop-bogosity.rs
for-loop-refutable-pattern-error-message.rs
for-loop-type-error.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-rules.rs
gated-non-ascii-idents.rs
gated-plugin_registrar.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-lifetime-trait-impl.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
generic-no-mangle.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 Update tests with the new diagnostic tweaks 2014-10-29 23:56:22 +01:00
glob-resolve1.rs
hashmap-iter-value-lifetime.rs
hashmap-lifetimes.rs
hidden-rt-injection2.rs
hidden-rt-injection.rs
huge-array-simple.rs
huge-array.rs
huge-enum.rs
huge-struct.rs
hygienic-label-1.rs
hygienic-label-2.rs
hygienic-label-3.rs
hygienic-label-4.rs
if-branch-types.rs
if-let.rs
if-typeck.rs
if-without-else-result.rs
ifmt-bad-arg.rs
ifmt-bad-format-args2.rs
ifmt-bad-format-args.rs
ifmt-unimpl.rs
ifmt-unknown-trait.rs
immut-function-arguments.rs
impl-bounds-checking.rs
impl-duplicate-methods.rs
impl-not-adjacent-to-type.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
inaccessible-test-modules.rs
index_message.rs
index-bot.rs Update tests with the new error messages 2014-10-28 17:54:16 +01:00
indexing-requires-a-uint.rs
infinite-autoderef.rs
infinite-instantiation.rs
infinite-macro-expansion.rs
infinite-tag-type-recursion.rs
infinite-vec-type-recursion.rs
inner-static-type-parameter.rs
integer-literal-suffix-inference-2.rs
integer-literal-suffix-inference-3.rs
integer-literal-suffix-inference.rs
integral-indexing.rs
integral-variable-unification-error.rs Add a test for errors unifying an integer variable with a float variable 2014-10-30 21:38:20 +01:00
intrinsic-return-address.rs
invalid-crate-type.rs
issue-897-2.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
issue-897.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
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
issue-2111.rs
issue-2149.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
issue-2150.rs rollup merge of #18398 : aturon/lint-conventions-2 2014-10-30 17:37:22 -07:00
issue-2151.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
issue-2281-part1.rs
issue-2330.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
issue-2354-1.rs
issue-2354.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
issue-2356.rs
issue-2478.rs
issue-2590.rs
issue-2611-4.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
issue-2611-5.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
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 Rename fail! to panic! 2014-10-29 11:43:07 -04:00
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
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 Rename fail! to panic! 2014-10-29 11:43:07 -04:00
issue-3668-2.rs
issue-3668.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
issue-3680.rs Always drop var IDs from type variables modulo -Z verbose, per PR discussion 2014-10-29 23:56:22 +01:00
issue-3702-2.rs
issue-3707.rs
issue-3763.rs
issue-3779.rs
issue-3820.rs
issue-3907-2.rs
issue-3907.rs
issue-3953.rs
issue-3973.rs
issue-3993-2.rs
issue-3993.rs
issue-4201.rs Use the _ representation for integral variables as well 2014-10-30 21:38:20 +01:00
issue-4265.rs
issue-4321.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 Use the _ representation for integral variables as well 2014-10-30 21:38:20 +01:00
issue-4972.rs
issue-5035-2.rs
issue-5035.rs
issue-5060-fail.rs
issue-5062.rs
issue-5099.rs
issue-5100.rs Always drop var IDs from type variables modulo -Z verbose, per PR discussion 2014-10-29 23:56:22 +01:00
issue-5153.rs
issue-5216.rs
issue-5239-1.rs
issue-5358-1.rs
issue-5439.rs
issue-5500-1.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
issue-5500.rs Update tests with the new diagnostic tweaks 2014-10-29 23:56:22 +01:00
issue-5543.rs
issue-5544-a.rs
issue-5544-b.rs
issue-5806.rs
issue-5844.rs
issue-5883.rs
issue-5927.rs
issue-5997-enum.rs
issue-5997-struct.rs
issue-6458-1.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
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-6738.rs
issue-6801.rs
issue-6804.rs
issue-6977.rs
issue-6991.rs
issue-7013.rs
issue-7044.rs
issue-7061.rs
issue-7092.rs Update tests with the new diagnostic tweaks 2014-10-29 23:56:22 +01:00
issue-7246.rs
issue-7364.rs
issue-7573.rs
issue-7575.rs
issue-7607-1.rs
issue-7607-2.rs
issue-7813.rs
issue-7867.rs Update tests with the new diagnostic tweaks 2014-10-29 23:56:22 +01:00
issue-8153.rs
issue-8208.rs
issue-8537.rs
issue-8727.rs
issue-8761.rs
issue-8767.rs
issue-9243.rs
issue-9575.rs
issue-9725.rs
issue-9814.rs
issue-9957.rs
issue-10200.rs
issue-10291.rs
issue-10392-2.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
issue-10392.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
issue-10398.rs
issue-10401.rs
issue-10412.rs
issue-10465.rs
issue-10536.rs
issue-10545.rs
issue-10636-1.rs
issue-10636-2.rs
issue-10656.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
issue-10755.rs
issue-10764.rs
issue-10877.rs
issue-10991.rs
issue-11154.rs
issue-11192.rs
issue-11319.rs
issue-11374.rs
issue-11493.rs
issue-11515.rs
issue-11593.rs
issue-11680.rs
issue-11681.rs
issue-11692.rs
issue-11714.rs
issue-11844.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
issue-11873.rs
issue-11925.rs
issue-12041.rs
issue-12116.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
issue-12127.rs
issue-12187-1.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
issue-12187-2.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
issue-12369.rs
issue-12470.rs
issue-12552.rs
issue-12560-1.rs
issue-12560-2.rs
issue-12567.rs
issue-12612.rs
issue-12729.rs
issue-12796.rs
issue-12863.rs
issue-12997-1.rs
issue-12997-2.rs
issue-13033.rs
issue-13359.rs
issue-13404.rs
issue-13428.rs
issue-13446.rs
issue-13466.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
issue-13482-2.rs Always drop var IDs from type variables modulo -Z verbose, per PR discussion 2014-10-29 23:56:22 +01:00
issue-13482.rs Use the _ representation for integral variables as well 2014-10-30 21:38:20 +01:00
issue-13497-2.rs
issue-13497.rs
issue-13599.rs
issue-13624.rs
issue-13641.rs
issue-13847.rs Update tests with the new error messages 2014-10-28 17:54:16 +01:00
issue-14084.rs
issue-14092.rs
issue-14221.rs
issue-14254.rs
issue-14285.rs
issue-14303-enum.rs
issue-14303-fn-def.rs
issue-14303-fncall.rs
issue-14303-impl.rs
issue-14303-path.rs
issue-14303-struct.rs
issue-14303-trait.rs
issue-14309.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
issue-14366.rs
issue-14541.rs
issue-14721.rs
issue-14772.rs
issue-14845.rs
issue-14853.rs
issue-14915.rs
issue-15094.rs
issue-15129.rs
issue-15167.rs
issue-15207.rs Update tests with the new error messages 2014-10-28 17:54:16 +01:00
issue-15260.rs
issue-15524.rs
issue-15730.rs
issue-15783.rs
issue-15896.rs
issue-15914.rs
issue-15965.rs Update tests with the new error messages 2014-10-28 17:54:16 +01:00
issue-16048.rs
issue-16058.rs
issue-16098.rs
issue-16149.rs
issue-16250.rs
issue-16338.rs Update tests with the new diagnostic tweaks 2014-10-29 23:56:22 +01:00
issue-16401.rs Update tests with the new diagnostic tweaks 2014-10-29 23:56:22 +01:00
issue-16465.rs
issue-16562.rs Special-case some error messages about Sized 2014-10-30 19:51:17 +13:00
issue-16683.rs
issue-16709.rs
issue-16725.rs
issue-16747.rs
issue-16783.rs
issue-16939.rs
issue-17025.rs
issue-17033.rs
issue-17252.rs
issue-17263.rs
issue-17283.rs
issue-17337.rs
issue-17373.rs Update tests with the new error messages 2014-10-28 17:54:16 +01:00
issue-17383.rs
issue-17385.rs
issue-17405.rs
issue-17431-1.rs
issue-17431-2.rs
issue-17431-3.rs
issue-17431-4.rs
issue-17431-5.rs
issue-17431-6.rs
issue-17431-7.rs
issue-17441.rs
issue-17444.rs
issue-17450.rs
issue-17458.rs Test fixes and rebase conflicts from rollup 2014-10-27 15:12:48 -07:00
issue-17518.rs
issue-17551.rs Special-case some error messages about Sized 2014-10-30 19:51:17 +13:00
issue-17636.rs
issue-17651.rs
issue-17718-borrow-interior.rs
issue-17718-const-bad-values.rs
issue-17718-const-borrow.rs
issue-17718-const-destructors.rs
issue-17718-const-mut.rs
issue-17718-const-naming.rs
issue-17718-const-privacy.rs
issue-17718-constants-not-static.rs
issue-17718-extern-const.rs
issue-17718-patterns.rs
issue-17718-recursive.rs
issue-17718-references.rs
issue-17718-static-move.rs
issue-17718-static-sync.rs
issue-17758.rs
issue-17800.rs
issue-17913.rs
issue-17933.rs
issue-17999.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
issue-18107.rs
issue-18118.rs
issue-18159.rs Special-case some error messages about Sized 2014-10-30 19:51:17 +13:00
issue-18252.rs
issue-18294.rs
issue-18343.rs
keyword-abstract.rs
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-final.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-override.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
keywords-followed-by-double-colon.rs
kindck-copy.rs
kindck-destructor-owned.rs
kindck-impl-type-params-2.rs
kindck-impl-type-params.rs
kindck-inherited-copy-bound.rs
kindck-nonsendable-1.rs
kindck-proc-bounds.rs
kindck-send-object1.rs
kindck-send-object2.rs
kindck-send-object.rs
kindck-send-owned.rs
kindck-send-region-pointers.rs
kindck-send-unsafe.rs
kindck-send-unsafe.rs~rust-lang_master
lang-item-missing.rs
lex-bad-char-literals.rs
lex-bad-numeric-literals.rs
lex-bad-token.rs
lex-bare-cr-string-literal-doc-comment.rs
lifetime-elision-return-type-requires-explicit-lifetime.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
lifetime-inference-give-expl-lifetime-param-2.rs
lifetime-inference-give-expl-lifetime-param-3.rs
lifetime-inference-give-expl-lifetime-param.rs
lifetime-no-keyword.rs
lifetime-obsoleted-self.rs
linkage1.rs
linkage2.rs
linkage3.rs
lint-change-warnings.rs
lint-ctypes-enum.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
lint-ctypes.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
lint-dead-code-1.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
lint-dead-code-2.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
lint-dead-code-3.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
lint-dead-code-4.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
lint-dead-code-5.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
lint-directives-on-use-items-issue-10534.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
lint-forbid-attr.rs
lint-forbid-cmdline.rs
lint-group-style.rs
lint-impl-fn.rs
lint-misplaced-attr.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
lint-missing-doc.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
lint-non-camel-case-types.rs
lint-non-snake-case-functions.rs
lint-non-snake-case-lifetimes.rs
lint-non-snake-case-modules.rs
lint-non-uppercase-statics.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
lint-obsolete-attr.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
lint-output-format.rs
lint-owned-heap-memory.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
lint-qualification.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
lint-raw-ptr-deriving.rs
lint-renaming.rs Add regression test for lint deprecation 2014-10-28 08:54:33 -07:00
lint-shorthand-field.rs
lint-stability.rs
lint-type-limits.rs
lint-type-overflow.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
lint-unknown-attr.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
lint-unknown-feature.rs
lint-unnecessary-casts.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
lint-unnecessary-import-braces.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
lint-unnecessary-parens.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
lint-unsafe-block.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
lint-unused-extern-crate.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
lint-unused-imports.rs
lint-unused-mut-self.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
lint-unused-mut-variables.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
lint-unused-unsafe.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
lint-uppercase-variables.rs
lint-visible-private-types.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
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 Update tests with the new error messages 2014-10-28 17:54:16 +01:00
liveness-closure-require-ret.rs
liveness-dead.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
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 Update code with new lint names 2014-10-28 08:54:21 -07:00
liveness-use-after-move.rs
liveness-use-after-send.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
log-syntax-gate.rs
loop-does-not-diverge.rs Update tests with the new error messages 2014-10-28 17:54:16 +01:00
lub-if.rs
lub-match.rs Update tests with the new error messages 2014-10-28 17:54:16 +01:00
macro-bad-delimiter-ident.rs
macro-incomplete-parse.rs
macro-inner-attributes.rs
macro-invocation-dot-help.rs Add a message for when a . follows a macro invocation 2014-10-30 19:51:16 +13:00
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 Update tests with the new diagnostic tweaks 2014-10-29 23:56:22 +01:00
marker-no-copy.rs
marker-no-send.rs
marker-no-share.rs
match-arm-statics.rs
match-arrows-block-then-binop.rs
match-ill-type1.rs
match-ill-type2.rs
match-join.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
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 Update code with new lint names 2014-10-28 08:54:21 -07:00
match-struct.rs
match-tag-nullary.rs
match-tag-unary.rs
match-vec-fixed.rs
match-vec-invalid.rs
match-vec-mismatch-2.rs Update tests with the new diagnostic tweaks 2014-10-29 23:56:22 +01:00
match-vec-mismatch.rs
match-vec-unreachable.rs
method-ambig-one-trait-coerce.rs
method-ambig-one-trait-unknown-int-type.rs
method-ambig-two-traits-cross-crate.rs
method-ambig-two-traits-from-bounds.rs
method-ambig-two-traits-with-default-method.rs
method-call-err-msg.rs
method-commit-to-trait.rs
method-macro-backtrace.rs
method-missing-call.rs
method-self-arg-1.rs
method-self-arg-2.rs
minus-string.rs
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
mod_file_not_owning_aux2.rs
mod_file_not_owning.rs
mod_file_with_path_attr.rs
move-out-of-tuple-field.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 Rename fail! to panic! 2014-10-29 11:43:07 -04:00
moves-based-on-type-match-bindings.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
moves-based-on-type-move-out-of-closure-env-issue-1965.rs
moves-based-on-type-no-recursive-stack-closure.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
moves-based-on-type-tuple.rs
moves-sru-moved-field.rs
multiline-comment-line-tracking.rs
multiple-main-2.rs
multiple-main-3.rs
multiple-plugin-registrars.rs
multitrait.rs
mut-cant-alias.rs
mut-cross-borrowing.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
no_crate_type.rs
no_send-enum.rs
no_send-rc.rs
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-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 Rename fail! to panic! 2014-10-29 11:43:07 -04:00
non-exhaustive-match.rs
non-exhaustive-pattern-witness.rs
non-str-meta.rs
noncopyable-class.rs
nonscalar-cast.rs
not-a-pred.rs
not-enough-arguments.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
not-utf8.bin
not-utf8.rs
object-does-not-impl-trait.rs
object-pointer-types.rs
obsolete-tilde.rs
obsolete-tuple-struct-deref.rs
occurs-check-2.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
overloaded-calls-bad.rs
overloaded-calls-nontuple.rs
oversized-literal.rs
paamayim-nekudotayim.rs
packed-struct-generic-transmute.rs
packed-struct-transmute.rs
parenthesized-box-expr-message.rs Improve the error message for parenthesised box expressions 2014-10-30 17:12:22 +13:00
pat-range-bad-dots.rs
pat-ref-enum.rs
pat-shadow-in-nested-binding.rs
pattern-bindings-after-at.rs
pattern-error-continue.rs
pattern-ident-path-generics.rs
pattern-macro-hygeine.rs
pattern-tyvar-2.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
pattern-tyvar.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
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
qquote-1.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
qquote-2.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
raw-byte-string-eof.rs
raw-byte-string-literals.rs
raw-str-delim.rs
raw-str-unbalanced.rs
raw-str-unterminated.rs
recursion.rs
recursive-enum.rs
redundant-link-args.rs
refutable-pattern-errors.rs
refutable-pattern-in-fn-arg.rs
region-bound-on-closure-outlives-call.rs
region-bounds-on-objects-and-type-parameters.rs
region-object-lifetime-1.rs
region-object-lifetime-in-coercion.rs Rebasing fixes 2014-10-30 16:12:59 +13:00
regionck-closure-lifetimes.rs
regionck-unboxed-closure-lifetimes.rs
regions-addr-of-arg.rs
regions-addr-of-self.rs
regions-addr-of-upvar-self.rs
regions-bound-missing-bound-in-impl.rs
regions-bounded-by-send.rs
regions-bounded-by-trait-requiring-static.rs
regions-bounded-method-type-parameters-cross-crate.rs
regions-bounded-method-type-parameters-trait-bound.rs
regions-bounded-method-type-parameters.rs
regions-bounds.rs
regions-close-object-into-object.rs
regions-close-over-borrowed-ref-in-obj.rs
regions-close-over-type-parameter-1.rs
regions-close-over-type-parameter-2.rs
regions-close-over-type-parameter-multiple.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-enum-not-wf.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 Rename fail! to panic! 2014-10-29 11:43:07 -04:00
regions-fn-subtyping-return-static.rs rollup merge of #18398 : aturon/lint-conventions-2 2014-10-30 17:37:22 -07:00
regions-fn-subtyping.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
regions-fns.rs
regions-free-region-ordering-callee.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
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-bound-from-trait-self.rs
regions-infer-bound-from-trait.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-proc-static-upvar.rs
regions-infer-region-in-fn-but-not-type.rs
regions-lifetime-bounds-on-fns.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-proc-bound-capture.rs
regions-proc-bounds.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-ref-to-upvar-issue-17403.rs
regions-return-stack-allocated-vec.rs
regions-steal-closure.rs
regions-struct-not-wf.rs
regions-trait-1.rs
regions-trait-2.rs
regions-trait-3.rs
regions-trait-variance.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-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 Use common variants for open and close delimiters 2014-10-30 09:35:52 +11:00
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 Use the _ representation for integral variables as well 2014-10-30 21:38:20 +01:00
repeat-to-run-dtor-twice.rs
required-lang-item.rs
reserved-be.rs
resolve_self_super_hint.rs
resolve-conflict-extern-crate-vs-extern-crate.rs
resolve-conflict-import-vs-extern-crate.rs
resolve-conflict-import-vs-import.rs
resolve-conflict-item-vs-extern-crate.rs
resolve-conflict-item-vs-import.rs
resolve-conflict-type-vs-import.rs
resolve-inconsistent-binding-mode.rs
resolve-inconsistent-names.rs
resolve-type-param-in-item-in-trait.rs
resolve-unknown-trait.rs
ret-non-nil.rs
rustc-diagnostics-1.rs
rustc-diagnostics-2.rs
rustc-diagnostics-3.rs
seq-args.rs
shadowing-in-the-same-pattern.rs
simd-binop.rs
simd-experimental.rs
simd-type.rs
slice-1.rs
slice-2.rs
slice-borrow.rs
slice-mut-2.rs
slice-mut.rs
slightly-nice-generic-literal-messages.rs Use the _ representation for integral variables as well 2014-10-30 21:38:20 +01:00
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-reference-to-fn-1.rs
static-reference-to-fn-2.rs
static-region-bound.rs
static-vec-repeat-not-constant.rs
staticness-mismatch.rs
std-uncopyable-atomics.rs
str-idx.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-literal-in-for.rs
struct-literal-in-if.rs
struct-literal-in-match-discriminant.rs
struct-literal-in-while.rs
struct-no-fields-2.rs
struct-no-fields-3.rs
struct-no-fields-4.rs
struct-no-fields-5.rs
struct-no-fields-enumlike.rs
struct-no-fields.rs
struct-pat-derived-error.rs
struct-pattern-match-useless.rs
structure-constructor-type-mismatch.rs
super-at-top-level.rs
suppressed-error.rs Always drop var IDs from type variables modulo -Z verbose, per PR discussion 2014-10-29 23:56:22 +01:00
svh-change-lit.rs
svh-change-significant-cfg.rs
svh-change-trait-bound.rs
svh-change-type-arg.rs
svh-change-type-ret.rs
svh-change-type-static.rs
svh-use-trait.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
syntax-extension-minor.rs
tag-that-dare-not-speak-its-name.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
tag-type-args.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
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
trailing-plus-in-bounds.rs
trait-as-struct-constructor.rs
trait-bounds-cant-coerce.rs
trait-bounds-impl-comparison-1.rs
trait-bounds-impl-comparison-2.rs
trait-bounds-not-on-bare-trait.rs
trait-bounds-not-on-impl.rs
trait-bounds-not-on-struct.rs
trait-bounds-on-structs-and-enums-locals.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
trait-bounds-on-structs-and-enums-static.rs
trait-bounds-on-structs-and-enums-xc1.rs
trait-bounds-on-structs-and-enums-xc.rs
trait-bounds-on-structs-and-enums.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-matching-lifetimes.rs
trait-objects.rs changes to tests 2014-10-30 15:51:56 +13:00
trait-or-new-type-instead.rs
trait-resolution-in-overloaded-op.rs
trait-test-2.rs changes to tests 2014-10-30 15:51:56 +13:00
trait-test.rs
traits-multidispatch-bad.rs
traits-multidispatch-convert-ambig-dest.rs
transmute-different-sizes.rs
transmute-type-parameters.rs
tuple-arity-mismatch.rs Update tests with the new diagnostic tweaks 2014-10-29 23:56:22 +01:00
tuple-index-not-tuple.rs
tuple-index-out-of-bounds.rs Update tests with the new diagnostic tweaks 2014-10-29 23:56:22 +01:00
tuple-struct-nonexhaustive.rs
tutorial-suffix-inference-test.rs
type-arg-out-of-scope.rs
type-mismatch-multiple.rs
type-parameter-names.rs Add a test for failure to unify type parameters 2014-10-30 21:38:20 +01:00
type-params-in-different-spaces-1.rs
type-params-in-different-spaces-2.rs
type-params-in-different-spaces-3.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 Update tests with the new diagnostic tweaks 2014-10-29 23:56:22 +01:00
typeck-cast-pointer-to-float.rs
typeck-unsafe-always-share.rs
ufcs-explicit-self-bad.rs
unbalanced-doublequote.rs
unboxed-closure-illegal-move.rs
unboxed-closure-immutable-capture.rs
unboxed-closure-region.rs
unboxed-closure-sugar-nonexistent-trait.rs
unboxed-closure-sugar-wrong-trait.rs
unboxed-closures-borrow-conflict.rs
unboxed-closures-static-call-wrong-trait.rs
unboxed-closures-type-mismatch.rs
unboxed-closures-vtable-mismatch.rs
unboxed-closures-wrong-trait.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 collections: impl Deref for Vec/String 2014-10-29 18:48:30 -07:00
unnecessary-private.rs
unop-neg-bool.rs
unreachable-arm.rs
unreachable-code.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
unreachable-variant.rs
unresolved-extern-mod-suggestion.rs
unresolved-import.rs
unsafe-around-compiler-generated-unsafe.rs
unsafe-destructor-check-crash.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
unsized2.rs
unsized3.rs
unsized4.rs
unsized5.rs
unsized6.rs
unsized7.rs
unsized-bare-typaram.rs
unsized-enum.rs
unsized-struct.rs
unsized.rs
unsupported-cast.rs
unused-attr.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
unused-mut-warning-captured-var.rs
unused-result.rs rollup merge of #18398 : aturon/lint-conventions-2 2014-10-30 17:37:22 -07:00
use-after-move-based-on-type.rs
use-after-move-implicity-coerced-object.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-mismatch.rs
use-mod-2.rs
use-mod-3.rs
use-mod.rs
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
variance-trait-matching-2.rs
variance-trait-matching.rs
vec-macro-with-comma-only.rs
vec-matching-obsolete-syntax.rs
vec-mut-iter-borrow.rs
vec-res-add.rs
vector-cast-weirdness.rs
vector-no-ann.rs
view-items-at-top.rs
virtual-structs.rs
visible-private-types-generics.rs
visible-private-types-supertrait.rs
vtable-res-trait-param.rs
warn-foreign-int-types.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
warn-path-statement.rs
weak-lang-item.rs Update infrastructure for fail -> panic 2014-10-29 16:06:13 -04:00
where-clauses-no-bounds-or-predicates.rs
where-clauses-not-parameter.rs
where-clauses-unsatisfied.rs
while-let.rs
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