about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2015-01-23Fix tidy.Vadim Chugunov-2/+2
2015-01-22Added test.Vadim Chugunov-0/+46
2015-01-22Suppress space after idents with "ModName" style in serialization of ↵Vadim Chugunov-1/+10
exported macros. Fixes issue #20701
2015-01-22Auto merge of #21187 - oli-obk:feature/hint_struct_field_access, r=alexcrichtonbors-1/+112
rebase and fix of #19267
2015-01-21Make diagnostic ordering deterministicAlex Crichton-9/+11
2015-01-21Revert "Use assume to inform the optimiser about refcount invariants"Alex Crichton-13/+2
This reverts commit a729a404945de10f99e2530a5c28952996532b29.
2015-01-21Revert "Add assumptions that the pointer is non-null"Alex Crichton-16/+2
This reverts commit 9bbfd681c9fa47f462a89e8f5eedd3fa2a5de2e7.
2015-01-21Revert "Add more explanation for why the assumes are there"Alex Crichton-9/+1
This reverts commit a7525bc4c8eb8507a5c248d29286e77133217cf3.
2015-01-21More test fixes and rebase conflictsAlex Crichton-3/+3
2015-01-21rollup merge of #20179: eddyb/blind-itemsAlex Crichton-1521/+1099
Conflicts: src/librustc/diagnostics.rs src/librustdoc/clean/mod.rs src/librustdoc/html/format.rs src/libsyntax/parse/parser.rs
2015-01-21rollup merge of #21258: aturon/stab-3-indexAlex Crichton-430/+353
Conflicts: src/libcore/ops.rs src/librustc_typeck/astconv.rs src/libstd/io/mem.rs src/libsyntax/parse/lexer/mod.rs
2015-01-21rollup merge of #21252: nikomatsakis/assoc-type-ice-hunt-take-2Alex Crichton-2/+384
Project region bounds out of the trait when deciding whether a projection type outlives a given regions. Fixes #20890. Fixes #21150.
2015-01-21rollup merge of #20642: michaelwoerister/sane-source-locations-pt1Alex Crichton-405/+889
Conflicts: src/librustc_trans/trans/debuginfo.rs
2015-01-21Move regression test for #20971 into run-fail, since it panics.Niko Matsakis-1/+3
2015-01-21Fix type inference problems in tests and docsAaron Turon-23/+23
2015-01-21Test fixes and rebase conflictsAlex Crichton-42/+7
2015-01-21Deny imports after non-item statements.Eduard Burtescu-3/+26
2015-01-21Added another test with success local-item shadowingEduard Burtescu-0/+19
2015-01-21Added some tests for arbitrary ordered view itemsMarvin Löbel-0/+138
2015-01-21tests: fix fallout of merging ast::ViewItem into ast::Item.Eduard Burtescu-47/+14
2015-01-21rollup merge of #21463: sanxiyn/demutAlex Crichton-17/+17
2015-01-21rollup merge of #21462: ahmedcharles/remove-ratchetAlex Crichton-246/+3
Conflicts: src/libtest/lib.rs
2015-01-21rollup merge of #21457: alexcrichton/issue-21436Alex Crichton-706/+763
Conflicts: src/liballoc/boxed.rs src/librustc/middle/traits/error_reporting.rs src/libstd/sync/mpsc/mod.rs
2015-01-21rollup merge of #21447: cmr/masterAlex Crichton-27/+17
Closes #13971
2015-01-21rollup merge of #21446: stepancheg/boxed-testAlex Crichton-54/+77
Conflicts: src/liballoc/boxed.rs
2015-01-21rollup merge of #21444: petrochenkov/nullAlex Crichton-54/+63
Conflicts: src/libstd/sync/mpsc/select.rs
2015-01-21rollup merge of #21441: alexcrichton/rustc-optsAlex Crichton-238/+49
This is a bit of cleanup work to clean out some old deprecated flags and deprecated lint names from the compiler (they've been deprecated for quite awhile now). This also notably puts `--pretty` behind the `-Z unstable-options` flag (where it was supposed to be previously).
2015-01-21rollup merge of #21438: taralx/kill-racycellAlex Crichton-33/+15
Conflicts: src/libstd/sync/mpsc/mod.rs
2015-01-21rollup merge of #21437: FlaPer87/snapshotAlex Crichton-340/+9
r? @alexcrichton
2015-01-21rollup merge of #21433: alfie/typobookAlex Crichton-1/+1
Tiny fix
2015-01-21rollup merge of #21429: GuillaumeGomez/macro-fixAlex Crichton-53/+68
This is little clean code of this PR: #21366. I patched the same thing as aochagavia but too slowly obviously. This is a merge of our two codes, more "rust-like".
2015-01-21rollup merge of #21423: oli-obk/prettier_read_untilAlex Crichton-10/+8
Conflicts: src/libstd/io/mod.rs
2015-01-21rollup merge of #21421: huonw/one-suggestion-per-traitAlex Crichton-0/+24
This is clearly useless, the user doesn't need to know that they could implement/import `foo::bar::Baz` 4 times. Fixes #21405.
2015-01-21rollup merge of #21419: Toby-S/patch-1Alex Crichton-23/+23
This just corrects a couple of typos in doc comments, and changes some to conform to the Rust guidelines.
2015-01-21rollup merge of #21418: Aatch/assume-refcountAlex Crichton-4/+37
The reference count can never be 0, unless we're about to drop the data completely. Using the `assume` intrinsic allows us to inform LLVM about that invariant, meaning it can avoid unnecessary drops. --- Before and after IR: https://gist.github.com/Aatch/3786d20df2edaad6a0e8 Generated from the example in #13018 Fixes #13018
2015-01-21rollup merge of #21414: ejjeong/aarch64-linux-androidAlex Crichton-4/+34
Initial support for aarch64-linux-android (#18920) - Add new configuration files - Modify some options to compile & link succesfully. (PIE, disable tls on jemalloc, modify some external function linkage, ..) - To build, refer to https://github.com/rust-lang/rust/wiki/Doc-building-for-android. (tested with platform=21 and toolchain=aarch64-linux-android-4.9)
2015-01-21rollup merge of #21413: ahmedcharles/remove-test-featuresAlex Crichton-147/+6
This isn't the entire set of changes, there are more coming. #19145
2015-01-21rollup merge of #21411: P1start/help-tweaksAlex Crichton-16/+16
Conflicts: src/librustc_typeck/check/closure.rs
2015-01-21rollup merge of #21396: japaric/no-parens-in-rangeAlex Crichton-70/+70
Conflicts: src/libsyntax/parse/lexer/comments.rs
2015-01-21rollup merge of #21394: japaric/nononoAlex Crichton-12/+2
r? @FlaPer87
2015-01-21rollup merge of #21393: loganchien/fix-if-stmt-doc-titleAlex Crichton-1/+1
Slightly change the title to make it look more consistent with other chapters (e.g. Match.)
2015-01-21rollup merge of #21392: japaric/iterAlex Crichton-0/+71
closes #20953 closes #21361 --- In the future, we will likely derive these `impl`s via syntax extensions or using compiler magic (see #20617). For the time being we can use these manual `impl`s. r? @aturon cc @burntsushi @Kroisse
2015-01-21rollup merge of #21391: klutzy/rt-time-cleanupAlex Crichton-138/+0
They are unused since libtime is gone. cc #20861
2015-01-21rollup merge of #21389: retep998/timerAlex Crichton-1/+7
Fixes #20943 and adds a test for it r? @alexcrichton
2015-01-21rollup merge of #21372: arielb1/remove-the-boxAlex Crichton-636/+15
It is not used anymore
2015-01-21rollup merge of #21368: tomjakubowski/rustdoc-miscellanyAlex Crichton-72/+95
Conflicts: src/librustdoc/clean/mod.rs
2015-01-21rollup merge of #21367: steveklabnik/remove_gateAlex Crichton-30/+0
This gate was `Accepted`, so we shouldn't need these.
2015-01-21rollup merge of #21354: eddyb/vec-ufcsAlex Crichton-8/+31
There are two limitations to the macro that this addresses: 1. the expected type is not propagated, coercions don't trigger 2. references inside element expressions don't outlive the `Vec` Both of these limitations are caused by the block in the macro expansion, previously needed to trigger a coercion from `Box<[T; N]>` to `Box<[T]>`, now possible with UFCS.
2015-01-21rollup merge of #21342: Diggsey/issue-21310Alex Crichton-0/+51
Fixes #21310
2015-01-21rollup merge of #21340: pshc/libsyntax-no-more-intsAlex Crichton-488/+488
Collaboration with @rylev! I didn't change `int` in the [quasi-quoter](https://github.com/pshc/rust/blob/99ae1a30f3ca28c0f7e431620560d30e44627124/src/libsyntax/ext/quote.rs#L328), because I'm not sure if there will be adverse effects. Addresses #21095.