about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2015-01-08Merge pull request #20735 from squidpickles/masterbors-1/+1
Spelling fix compatibel -> compatible Reviewed-by: Gankro
2015-01-08auto merge of #20760 : alexcrichton/rust/rollup, r=alexcrichtonbors-9367/+9089
2015-01-08Fix dead links in the guide and reorganizeAlex Crichton-664/+108
2015-01-08rollup merge of #20757: nikomatsakis/issue-20624-assoc-types-coherenceAlex Crichton-33/+276
2015-01-08Remove silly long line.Niko Matsakis-1/+0
2015-01-08rollup merge of #20754: nikomatsakis/int-featureAlex Crichton-2135/+2404
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-111/+263
Issue #20232. Fun. r? @eddyb you prob know this system best
2015-01-08rollup merge of #20746: dotdash/fix_indentAlex Crichton-674/+674
Most of the file lost one level of indentation in a recent rollup. Most likely an accident during merge conflict resolution.
2015-01-08rollup merge of #20740: FlaPer87/remove-opt-out-copyAlex Crichton-115/+3
[breaking-change] code using this feature will break.
2015-01-08rollup merge of #20738: brson/feature-staging2Alex Crichton-392/+386
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-08rollup merge of #20736: akiss77/pr-u8-c_charAlex Crichton-1/+1
2015-01-08Add another test using projection types in impls.Niko Matsakis-0/+44
2015-01-08Normalize types bottom up. Fixes #20666.Niko Matsakis-1/+54
2015-01-08"The Rust Programming Language"Steve Klabnik-5871/+5603
This pulls all of our long-form documentation into a single document, nicknamed "the book" and formally titled "The Rust Programming Language." A few things motivated this change: * People knew of The Guide, but not the individual Guides. This merges them together, helping discoverability. * You can get all of Rust's longform documentation in one place, which is nice. * We now have rustbook in-tree, which can generate this kind of documentation. While its style is basic, the general idea is much better: a table of contents on the left-hand side. * Rather than a almost 10,000-line guide.md, there are now smaller files per section.
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-3/+59
Fixes #20559.
2015-01-08Normalize types in impls, add test for coherence failure.Niko Matsakis-31/+122
Fixes #20624.
2015-01-08auto merge of #20032 : Manishearth/rust/plugin-loader, r=cmrbors-274/+329
`rustc something.rs -L folder_with_plugin_dylib/ -Z extra-plugins=foo` works via this My way of testing this is by cloning https://github.com/Manishearth/rust-clippy, `cargo build`ing it, and then running `rustc examples/box_vec.rs -L target/ -Z extra-plugins=rust_clippy` after editing out the `exern crate rust_clippy` from `box_vec.rs` r? @huonw fixes #15446
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-2/+113
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-19/+19
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-08Remove warning from the libraries.Huon Wilson-8/+37
This adds the int_uint feature to *every* library, whether or not it needs it.
2015-01-08Add a warning feature gate for int/uint in types and i/u suffixes.Huon Wilson-3/+93
2015-01-08Store deprecated status of i/u-suffixed literals.Huon Wilson-79/+112
2015-01-08Ignore extra error from test for nowManish Goregaokar-3/+22
2015-01-08Add new test for #20232.Niko Matsakis-0/+47
2015-01-08Update regionck to discharge the binder safely (usingNiko Matsakis-10/+28
`assert_no_late_bound_regions`) and to give more helpful debug output.
2015-01-08Fix the actual bug for #20232: when creating the cmt for the implicitNiko Matsakis-10/+23
deref that is associated with an overloaded index, we should not consult the method lookup table. This deref is *always* a deref of an `&T` and hence is never overloaded (and is also not present in the tables; it has no "id" or other associated key).
2015-01-08Update the "English-language" to-string function of a `cmt` to useNiko Matsakis-87/+124
more modern terminology and update tests accordingly.
2015-01-08Add comments to autoderef() helper and refactor it to takeNiko Matsakis-21/+58
an `Option<&Expr>` like everything else.
2015-01-08auto merge of #20744 : huonw/rust/fix-string-slicing, r=pnkfelixbors-1/+7
2015-01-08Remove the deprecated opt_out_copy featureFlavio Percoco-115/+3
2015-01-08Restore indentation in common.rsBjörn Steinbrink-674/+674
Most of the file lost one level of indentation in a recent rollup. Most likely an accident during merge conflict resolution.
2015-01-08Let ToString work with unsized types, importantly, `str`.Huon Wilson-1/+7
2015-01-08Improvements to feature stagingBrian Anderson-392/+386
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-8/+31
2015-01-08Add missing module stability attributesAaron Turon-0/+4
2015-01-08libsyntax: add COMMAND_LINE_SP and use it for spans generated from the ↵Manish Goregaokar-8/+23
command line
2015-01-08librustc_driver: Add support for loading plugins via command line (fixes #15446)Manish Goregaokar-23/+26
2015-01-08librustc::plugin : make PluginLoader usable for loading argument-specified ↵Manish Goregaokar-17/+40
plugins
2015-01-08librustc::metadata : Allow passing a string to read_plugin_metadataManish Goregaokar-9/+26
2015-01-08librustc::session : Make DebuggingOpts use the options! macroManish Goregaokar-168/+118