summary refs log tree commit diff
path: root/src/test
AgeCommit message (Collapse)AuthorLines
2015-01-08auto merge of #20760 : alexcrichton/rust/rollup, r=alexcrichtonbors-2231/+2533
2015-01-08rollup merge of #20757: nikomatsakis/issue-20624-assoc-types-coherenceAlex Crichton-0/+203
2015-01-08Remove silly long line.Niko Matsakis-1/+0
2015-01-08rollup merge of #20754: nikomatsakis/int-featureAlex Crichton-2043/+2179
Conflicts: src/test/compile-fail/borrowck-move-out-of-overloaded-auto-deref.rs src/test/compile-fail/issue-2590.rs src/test/compile-fail/lint-stability.rs src/test/compile-fail/slice-mut-2.rs src/test/compile-fail/std-uncopyable-atomics.rs
2015-01-08rollup merge of #20751: nikomatsakis/issue-20232Alex Crichton-32/+79
Issue #20232. Fun. r? @eddyb you prob know this system best
2015-01-08rollup merge of #20740: FlaPer87/remove-opt-out-copyAlex Crichton-90/+0
[breaking-change] code using this feature will break.
2015-01-08Add another test using projection types in impls.Niko Matsakis-0/+44
2015-01-08Normalize types bottom up. Fixes #20666.Niko Matsakis-0/+51
2015-01-08Adjust tests to be clearer about the type that results from a shift expression.Niko Matsakis-10/+14
2015-01-08Rename test to fit naming convention.Niko Matsakis-0/+0
2015-01-08Normalize types in supertraits when checking that impls are valid during wf.Niko Matsakis-0/+50
Fixes #20559.
2015-01-08Normalize types in impls, add test for coherence failure.Niko Matsakis-0/+59
Fixes #20624.
2015-01-08Wrap long lineNiko Matsakis-1/+3
2015-01-08Modify lifetime-infereence-give-expl-lifetime-param-3 to use a shorterNiko Matsakis-5/+5
type name so that messages do not wrap.
2015-01-08Allow shift operator to take any integral type (and add a test).Niko Matsakis-0/+95
2015-01-08Update graphviz tests to accommodate new isize/usize types and is/us suffixes.Felix S. Klock II-87/+87
2015-01-08Update the compile-fail-fulldeps tests with new isize/usize literal suffixes.Felix S. Klock II-1/+1
2015-01-08Accommodate the "int literal is too large" error message currently embedded ↵Felix S. Klock II-3/+3
in rustc.
2015-01-08Test fixes.Huon Wilson-15/+15
2015-01-08Update compile-fail tests to use is/us, not i/u.Huon Wilson-379/+379
2015-01-08Update compile fail tests to use usize.Huon Wilson-325/+325
2015-01-08Update compile fail tests to use isize.Huon Wilson-1324/+1324
2015-01-08Add a warning feature gate for int/uint in types and i/u suffixes.Huon Wilson-0/+35
2015-01-08Ignore extra error from test for nowManish Goregaokar-1/+1
2015-01-08Add new test for #20232.Niko Matsakis-0/+47
2015-01-08Update the "English-language" to-string function of a `cmt` to useNiko Matsakis-32/+32
more modern terminology and update tests accordingly.
2015-01-08Remove the deprecated opt_out_copy featureFlavio Percoco-90/+0
2015-01-08Improvements to feature stagingBrian Anderson-66/+72
This gets rid of the 'experimental' level, removes the non-staged_api case (i.e. stability levels for out-of-tree crates), and lets the staged_api attributes use 'unstable' and 'deprecated' lints. This makes the transition period to the full feature staging design a bit nicer.
2015-01-08Add test for -Z extra-pluginsManish Goregaokar-0/+21
2015-01-07More test fixes and rebase conflictsAlex Crichton-1/+1
2015-01-07rollup merge of #20731: nick29581/assoc-inherantAlex Crichton-0/+19
2015-01-07Test fixes and rebase conflictsAlex Crichton-163/+232
2015-01-08Forbid associated items in inherent implsNick Cameron-0/+19
Closes #20359
2015-01-07rollup merge of #20707: nikomatsakis/issue-20582Alex Crichton-0/+27
2015-01-07rollup merge of #20723: pnkfelix/feature-gate-box-syntaxAlex Crichton-3/+724
Conflicts: src/compiletest/compiletest.rs src/libcollections/lib.rs src/libserialize/lib.rs src/libsyntax/feature_gate.rs
2015-01-08fallout: part of changes to compile-fail tests. (follows same pattern as ↵Felix S. Klock II-0/+9
prior two commits.)
2015-01-07rollup merge of #20720: nick29581/assoc-ice-missingAlex Crichton-0/+52
2015-01-08fallout: run-fail tests that use box. (many/all could be ported to ↵Felix S. Klock II-0/+15
`Box::new` instead.)
2015-01-08Remove String impls and fix for make tidyNick Cameron-1/+1
2015-01-07rollup merge of #20706: ↵Alex Crichton-0/+98
nikomatsakis/assoc-types-projections-in-structs-issue-20470 Conflicts: src/librustc_trans/trans/expr.rs
2015-01-07rollup merge of #20665: nikomatsakis/assoc-types-method-dispatch-projectionAlex Crichton-0/+78
Conflicts: src/librustc/middle/ty.rs
2015-01-08fallout: run-pass tests that use box. (many could be ported to `Box::new` ↵Felix S. Klock II-4/+605
instead in the future.)
2015-01-07rollup merge of #20728: huonw/type-param-shadowingAlex Crichton-0/+36
Conflicts: src/librustc_typeck/check/wf.rs
2015-01-07rollup merge of #20631: huon/no-drop-and-copyAlex Crichton-1/+31
2015-01-08Prohibit type parameter shadowing with a clunky hammer.Huon Wilson-0/+36
This is a [breaking-change]. Change impl<T> Foo<T> { fn bar<T>(... to (for example) impl<T> Foo<T> { fn bar<U>(... Per RFC 459. Closes #19390.
2015-01-07rollup merge of #20721: japaric/snapAlex Crichton-60/+11
Conflicts: src/libcollections/vec.rs src/libcore/fmt/mod.rs src/librustc/lint/builtin.rs src/librustc/session/config.rs src/librustc_trans/trans/base.rs src/librustc_trans/trans/context.rs src/librustc_trans/trans/type_.rs src/librustc_typeck/check/_match.rs src/librustdoc/html/format.rs src/libsyntax/std_inject.rs src/libsyntax/util/interner.rs src/test/compile-fail/mut-pattern-mismatched.rs
2015-01-07Normalize types of fields in struct literals during type-checking.Niko Matsakis-0/+29
Fixes #20535.
2015-01-07Update compile-fail test with new message that is generated as aNiko Matsakis-0/+7
result of using `ty::type_is_sized`
2015-01-07Add rather involved run-pass test case.Niko Matsakis-0/+62
2015-01-07rollup merge of #20726: dgrunwald/require-parens-for-chained-comparisonAlex Crichton-1/+27
[Rendered RFC](https://github.com/rust-lang/rfcs/blob/master/text/0558-require-parentheses-for-chained-comparisons.md)