]> git.lizzy.rs Git - rust.git/log
rust.git
9 years agoRe-exports core::str::Utf16CodeUnits in std::str
Piotr Jawniak [Tue, 7 Oct 2014 06:51:12 +0000 (08:51 +0200)]
Re-exports core::str::Utf16CodeUnits in std::str

Closes #17751

9 years agoauto merge of #17745 : aturon/rust/revert-any-private, r=alexcrichton
bors [Tue, 7 Oct 2014 03:27:12 +0000 (03:27 +0000)]
auto merge of #17745 : aturon/rust/revert-any-private, r=alexcrichton

[Previously](https://github.com/rust-lang/rust/commit/e5da6a71a6a0b46dd3630fc8326e6d5906a1fde6), the `Any` trait was split into a private portion and an (empty) public portion, in order to hide the implementation strategy used for downcasting. However, the [new rules](https://github.com/rust-lang/rust/commit/e9ad12c0cae5c43ada6641c7dc840a0fbe5010a2) for privacy forbid `AnyPrivate` from actually being private.

This patch thus reverts the introduction of `AnyPrivate`.

Although this is unlikely to break any real code, it removes a public trait and is therefore a:

[breaking-change]

9 years agoRevise DST test to not require duplicate errors.
Aaron Turon [Mon, 6 Oct 2014 23:31:40 +0000 (16:31 -0700)]
Revise DST test to not require duplicate errors.

9 years agoRemove core::any::AnyPrivate
Aaron Turon [Fri, 3 Oct 2014 17:46:41 +0000 (10:46 -0700)]
Remove core::any::AnyPrivate

[Previously](https://github.com/rust-lang/rust/commit/e5da6a71a6a0b46dd3630fc8326e6d5906a1fde6),
the `Any` trait was split into a private portion and an (empty) public
portion, in order to hide the implementation strategy used for
downcasting. However, the [new
rules](https://github.com/rust-lang/rust/commit/e9ad12c0cae5c43ada6641c7dc840a0fbe5010a2)
for privacy forbid `AnyPrivate` from actually being private.

This patch thus reverts the introduction of `AnyPrivate`.

Although this is unlikely to break any real code, it removes a public
trait and is therefore a:

[breaking-change]

9 years agoauto merge of #17820 : pnkfelix/rust/fsk-improve-binary_search-doc2, r=alexcrichton
bors [Mon, 6 Oct 2014 20:27:14 +0000 (20:27 +0000)]
auto merge of #17820 : pnkfelix/rust/fsk-improve-binary_search-doc2, r=alexcrichton

Add example to doc for `slice::ImmutableSlice::binary_search`.

Fix #17817.

9 years agoauto merge of #17692 : brson/rust/copywut, r=alexcrichton
bors [Mon, 6 Oct 2014 18:37:10 +0000 (18:37 +0000)]
auto merge of #17692 : brson/rust/copywut, r=alexcrichton

9 years agoUpdate COPYRIGHT to better reflect the current repo
Brian Anderson [Wed, 1 Oct 2014 18:52:18 +0000 (11:52 -0700)]
Update COPYRIGHT to better reflect the current repo

9 years agoauto merge of #17798 : tomjakubowski/rust/rustdoc-fix-bounds, r=alexcrichton
bors [Mon, 6 Oct 2014 16:47:13 +0000 (16:47 +0000)]
auto merge of #17798 : tomjakubowski/rust/rustdoc-fix-bounds, r=alexcrichton

This PR adds support in rustdoc for properly naming lifetimes in bounds, instead of just showing `'static` for everything. It also adds support for unboxed function sugar bounds, which were also previously rendered as `'static`.

9 years agoauto merge of #17796 : tomjakubowski/rust/rustdoc-ice-17736, r=alexcrichton
bors [Mon, 6 Oct 2014 14:57:19 +0000 (14:57 +0000)]
auto merge of #17796 : tomjakubowski/rust/rustdoc-ice-17736, r=alexcrichton

Previously, external code might call `markdown::render()` without having
called `markdown::reset_headers()`, meaning the TLS key
`used_header_map` was unset.  Now `markdown::render()` ensures that
`used_header_map` is set by calling `reset_headers` if necessary.

Fix #17736

9 years agoAdd example to doc for `slice::ImmutableSlice::binary_search`.
Felix S. Klock II [Mon, 6 Oct 2014 13:46:09 +0000 (15:46 +0200)]
Add example to doc for `slice::ImmutableSlice::binary_search`.

Fix #17817.

9 years agorustdoc: Include lifetimes in re-exported bounds
Tom Jakubowski [Mon, 6 Oct 2014 13:11:21 +0000 (06:11 -0700)]
rustdoc: Include lifetimes in re-exported bounds

Fix #17818

9 years agoauto merge of #17814 : vhbit/rust/ios-build-fix, r=huonw
bors [Mon, 6 Oct 2014 13:07:19 +0000 (13:07 +0000)]
auto merge of #17814 : vhbit/rust/ios-build-fix, r=huonw

9 years agoauto merge of #17812 : thestinger/rust/jemalloc, r=alexcrichton
bors [Mon, 6 Oct 2014 11:17:16 +0000 (11:17 +0000)]
auto merge of #17812 : thestinger/rust/jemalloc, r=alexcrichton

This includes optimizations to the thread cache and support for
shrinking and expanding huge (>4M) allocations in-place.

9 years agorustdoc: Remove dummy UnknownBound variant
Tom Jakubowski [Mon, 6 Oct 2014 09:22:40 +0000 (02:22 -0700)]
rustdoc: Remove dummy UnknownBound variant

9 years agoauto merge of #17803 : bkoropoff/rust/issue-17021, r=alexcrichton
bors [Mon, 6 Oct 2014 09:27:19 +0000 (09:27 +0000)]
auto merge of #17803 : bkoropoff/rust/issue-17021, r=alexcrichton

This closes issue #17021.

9 years agorustdoc: Support unboxed fn sugar in bounds
Tom Jakubowski [Sun, 5 Oct 2014 15:09:41 +0000 (08:09 -0700)]
rustdoc: Support unboxed fn sugar in bounds

9 years agorustdoc: Correctly name lifetimes in bounds
Tom Jakubowski [Sun, 5 Oct 2014 14:35:04 +0000 (07:35 -0700)]
rustdoc: Correctly name lifetimes in bounds

Fix #16518

9 years agorustdoc: make calls of markdown::render safer
Tom Jakubowski [Sun, 5 Oct 2014 13:00:50 +0000 (06:00 -0700)]
rustdoc: make calls of markdown::render safer

Previously, external code might call `markdown::render()` without having
called `markdown::reset_headers()`, meaning the TLS key
`used_header_map` was unset.  Now `markdown::render()` ensures that
`used_header_map` is set by calling `reset_headers` if necessary.

Fix #17736

9 years agoauto merge of #17781 : P1start/rust/bitflags-lints, r=alexcrichton
bors [Mon, 6 Oct 2014 07:37:19 +0000 (07:37 +0000)]
auto merge of #17781 : P1start/rust/bitflags-lints, r=alexcrichton

Closes #17773.

9 years agoFixed iOS build (statics name lint)
Valerii Hiora [Mon, 6 Oct 2014 06:24:04 +0000 (09:24 +0300)]
Fixed iOS build (statics name lint)

9 years agoRemove the #[allow(non_uppercase_statics)] attr from bitflags!
P1start [Mon, 6 Oct 2014 03:08:35 +0000 (16:08 +1300)]
Remove the #[allow(non_uppercase_statics)] attr from bitflags!

9 years agoRename the file permission statics in std::io to be uppercase
P1start [Mon, 6 Oct 2014 03:08:46 +0000 (16:08 +1300)]
Rename the file permission statics in std::io to be uppercase

For example, this renames `GroupRWX` to `GROUP_RWX`, and deprecates the old
name. Code using these statics should be updated accordingly.

9 years agoauto merge of #17414 : jakub-/rust/issue-17405, r=alexcrichton
bors [Mon, 6 Oct 2014 02:52:22 +0000 (02:52 +0000)]
auto merge of #17414 : jakub-/rust/issue-17405, r=alexcrichton

Fixes #17405.
Fixes #17518.
Fixes #17800.

9 years agoupdate jemalloc
Daniel Micay [Mon, 6 Oct 2014 02:16:15 +0000 (22:16 -0400)]
update jemalloc

This includes optimizations to the thread cache and support for
shrinking and expanding huge (>4M) allocations in-place.

9 years agoauto merge of #17809 : thestinger/rust/windows, r=eddyb
bors [Mon, 6 Oct 2014 00:27:16 +0000 (00:27 +0000)]
auto merge of #17809 : thestinger/rust/windows, r=eddyb

9 years agowork around yet another MinGW-w64 ASLR bug
Daniel Micay [Wed, 1 Oct 2014 13:38:42 +0000 (09:38 -0400)]
work around yet another MinGW-w64 ASLR bug

9 years agoauto merge of #17794 : SimonSapin/rust/patch-8, r=alexcrichton
bors [Sun, 5 Oct 2014 21:07:10 +0000 (21:07 +0000)]
auto merge of #17794 : SimonSapin/rust/patch-8, r=alexcrichton

9 years agoFix handling of struct variants in a couple of places
Jakub Wieczorek [Sat, 20 Sep 2014 19:25:25 +0000 (21:25 +0200)]
Fix handling of struct variants in a couple of places

Fixes #17405.
Fixes #17518.
Fixes #17800.

9 years agoBuild regression test for issue #17021 with -g
Brian Koropoff [Sun, 5 Oct 2014 19:19:58 +0000 (12:19 -0700)]
Build regression test for issue #17021 with -g

This causes it to hit the previously ICEing debuginfo codepath

9 years agoHandle emitting debug info for unboxed closures
Brian Koropoff [Sun, 5 Oct 2014 19:19:22 +0000 (12:19 -0700)]
Handle emitting debug info for unboxed closures

This fixes an ICE.  Closes issue #17021

9 years agoauto merge of #17762 : bkoropoff/rust/issue-17734, r=alexcrichton
bors [Sun, 5 Oct 2014 19:17:07 +0000 (19:17 +0000)]
auto merge of #17762 : bkoropoff/rust/issue-17734, r=alexcrichton

Closes issue #17734

r? @nick29581

9 years agoAdd regression test for issue #17734
Brian Koropoff [Sat, 4 Oct 2014 06:01:43 +0000 (23:01 -0700)]
Add regression test for issue #17734

9 years agoauto merge of #17799 : ebfe/rust/cfg_warn, r=alexcrichton
bors [Sun, 5 Oct 2014 17:02:11 +0000 (17:02 +0000)]
auto merge of #17799 : ebfe/rust/cfg_warn, r=alexcrichton

Probably fallen through the cracks in #17630.

9 years agoFix cfg syntax warnings in libnative
Michael Gehring [Sun, 5 Oct 2014 16:30:04 +0000 (18:30 +0200)]
Fix cfg syntax warnings in libnative

9 years agoString::truncate doc: also fails if not a char boundary
Simon Sapin [Sun, 5 Oct 2014 11:15:59 +0000 (12:15 +0100)]
String::truncate doc: also fails if not a char boundary

9 years agoauto merge of #17785 : P1start/rust/diagnostics, r=alexcrichton
bors [Sun, 5 Oct 2014 10:57:04 +0000 (10:57 +0000)]
auto merge of #17785 : P1start/rust/diagnostics, r=alexcrichton

Closes #17765.
Closes #15524.
Closes #14772.

9 years agoauto merge of #17777 : lambda/rust/fix-docs-short-hash, r=alexcrichton
bors [Sun, 5 Oct 2014 09:07:06 +0000 (09:07 +0000)]
auto merge of #17777 : lambda/rust/fix-docs-short-hash, r=alexcrichton

The escaped newline in the middle of the variable reference breaks the
short hash substitution, leaving the link text exmpty; rewrap so that
each replacement is on its own line.

9 years agoauto merge of #16970 : kmcallister/rust/llvm-unreachable, r=thestinger
bors [Sun, 5 Oct 2014 07:17:09 +0000 (07:17 +0000)]
auto merge of #16970 : kmcallister/rust/llvm-unreachable, r=thestinger

I'm not sure how to add an automated test for this.

9 years agoauto merge of #17776 : luqmana/rust/ul, r=alexcrichton
bors [Sun, 5 Oct 2014 04:57:11 +0000 (04:57 +0000)]
auto merge of #17776 : luqmana/rust/ul, r=alexcrichton

Update our LLVM snapshot to master (as of ~ Wed Oct 1 18:49:58 2014 +0000).

Since my patches have landed upstream this fixes #13429 and #7298.

9 years agoauto merge of #17774 : lambda/rust/docs-mention-hoedown, r=steveklabnik
bors [Sun, 5 Oct 2014 03:12:10 +0000 (03:12 +0000)]
auto merge of #17774 : lambda/rust/docs-mention-hoedown, r=steveklabnik

Rust 0.11.0 switched from sundown to the actively maintained hoedown; update the rustdoc documention to mention this.

9 years agoAdd tests for intrinsics::unreachable
Keegan McAllister [Thu, 4 Sep 2014 23:09:18 +0000 (16:09 -0700)]
Add tests for intrinsics::unreachable

9 years agoAdd intrinsics::unreachable
Keegan McAllister [Wed, 3 Sep 2014 19:00:08 +0000 (12:00 -0700)]
Add intrinsics::unreachable

9 years agoauto merge of #17772 : bkoropoff/rust/issue-17767, r=alexcrichton
bors [Sun, 5 Oct 2014 01:27:10 +0000 (01:27 +0000)]
auto merge of #17772 : bkoropoff/rust/issue-17767, r=alexcrichton

Closes issue #17767

9 years agoGive a more descriptive error when marking non-test items as #[test]
P1start [Sat, 4 Oct 2014 23:27:42 +0000 (12:27 +1300)]
Give a more descriptive error when marking non-test items as #[test]

Closes #14772.

9 years agoTweak ‘discriminant value already exists’ error message
P1start [Sat, 4 Oct 2014 23:18:04 +0000 (12:18 +1300)]
Tweak ‘discriminant value already exists’ error message

Closes #15524.

9 years agoauto merge of #17766 : pminten/rust/atomic-int-in-examples, r=alexcrichton
bors [Sat, 4 Oct 2014 23:42:07 +0000 (23:42 +0000)]
auto merge of #17766 : pminten/rust/atomic-int-in-examples, r=alexcrichton

The examples for fetch_or, fetch_and and fetch_xor for
std::sync::atomic::AtomicInt used AtomicUint instead of AtomicInt.

9 years agoRename vector patterns to array patterns
P1start [Sat, 4 Oct 2014 23:08:37 +0000 (12:08 +1300)]
Rename vector patterns to array patterns

Closes #17765.

9 years agoauto merge of #17761 : bkoropoff/rust/issue-17758, r=alexcrichton
bors [Sat, 4 Oct 2014 21:57:08 +0000 (21:57 +0000)]
auto merge of #17761 : bkoropoff/rust/issue-17758, r=alexcrichton

This fixes an ICE and closes issue #17758

9 years agoauto merge of #17738 : hoeppnertill/rust/master, r=alexcrichton
bors [Sat, 4 Oct 2014 19:32:07 +0000 (19:32 +0000)]
auto merge of #17738 : hoeppnertill/rust/master, r=alexcrichton

There is an issue with lev_distance, where
```
fn main() {
    println!("{}", "\x80".lev_distance("\x80"))
}
```
prints `2`.

This is due to using the byte length instead of the char length.

9 years agodocs: Fix short hash link to github
Brian Campbell [Sat, 4 Oct 2014 18:41:37 +0000 (14:41 -0400)]
docs: Fix short hash link to github

The escaped newline in the middle of the variable reference breaks the
short hash substitution, leaving the link text exmpty; rewrap so that
each replacement is on its own line.

9 years agoauto merge of #17760 : bkoropoff/rust/issue-17737, r=eddyb
bors [Sat, 4 Oct 2014 17:47:06 +0000 (17:47 +0000)]
auto merge of #17760 : bkoropoff/rust/issue-17737, r=eddyb

This is a quick fix.  In the long term, the `TyVisitor` interface should be expanded to better represent closure types.

Closes issue #17737

9 years agodocs: Reference hoedown instead of sundown
Brian Campbell [Sat, 4 Oct 2014 17:42:23 +0000 (13:42 -0400)]
docs: Reference hoedown instead of sundown

9 years agoUpdate LLVM.
Luqman Aden [Tue, 30 Sep 2014 21:20:22 +0000 (17:20 -0400)]
Update LLVM.

9 years agoFix infinite recursion in Writer impl for &mut Writer
Brian Koropoff [Sat, 4 Oct 2014 17:23:26 +0000 (10:23 -0700)]
Fix infinite recursion in Writer impl for &mut Writer

Closes issue #17767

9 years agoauto merge of #17769 : dotdash/rust/snapshot, r=eddyb
bors [Sat, 4 Oct 2014 13:52:09 +0000 (13:52 +0000)]
auto merge of #17769 : dotdash/rust/snapshot, r=eddyb

9 years agoRegister new snapshots
Björn Steinbrink [Sat, 4 Oct 2014 13:44:50 +0000 (15:44 +0200)]
Register new snapshots

9 years agoMake examples for AtomicInt refer to AtomicInt
Peter Minten [Sat, 4 Oct 2014 11:29:09 +0000 (13:29 +0200)]
Make examples for AtomicInt refer to AtomicInt

The examples for fetch_or, fetch_and and fetch_xor for
std::sync::atomic::AtomicInt used AtomicUint instead of AtomicInt.

9 years agoauto merge of #17755 : alexcrichton/rust/unblock-snapshot, r=eddyb
bors [Sat, 4 Oct 2014 06:12:08 +0000 (06:12 +0000)]
auto merge of #17755 : alexcrichton/rust/unblock-snapshot, r=eddyb

Hopefully unblocks a snapshot

9 years agoCorrectly generate drop glue for `Box<str>`
Brian Koropoff [Sat, 4 Oct 2014 06:00:20 +0000 (23:00 -0700)]
Correctly generate drop glue for `Box<str>`

This fixes an ICE.  Closes issue #17734

9 years agoAdd regression test for issue #17758
Brian Koropoff [Sat, 4 Oct 2014 05:37:08 +0000 (22:37 -0700)]
Add regression test for issue #17758

9 years agoHandle provided trait methods when giving inference error suggestions
Brian Koropoff [Sat, 4 Oct 2014 05:35:16 +0000 (22:35 -0700)]
Handle provided trait methods when giving inference error suggestions

This fixes an ICE.  Closes issue #17758

9 years agoauto merge of #17754 : O-I/rust/update-guide, r=steveklabnik
bors [Sat, 4 Oct 2014 04:27:05 +0000 (04:27 +0000)]
auto merge of #17754 : O-I/rust/update-guide, r=steveklabnik

Hi,

These are a few small edits to the Guide that I made while reading online. Really well done and approachable.

I have a few questions below, but I don't know if this is the proper place to ask them, so feel free to ignore the below.

1. Trailing commas seem to be a convention in Rust and are used quite a bit throughout the Guide, but are never explicitly mentioned. Maybe adding a short mention about them when they first appear in the Structs section might be helpful to those who are unfamiliar with or don't use them in other languages.

2. In the Iterators section, there is a block of code like this:

```rust
let mut range = range(0i, 10i);

loop {
    match range.next() {
        Some(x) => {
            println!("{}", x);
        }  // no comma needed?
        None => { break }
    }
}
```

My inclination would be to put a comma where the comment is to separate the two arms to get this to compile, but it runs fine either way. Is there a convention on commas for scenarios like this where each arm is enclosed in `{}`?

All the best,
O-I

9 years agoAdd regression test for issue #17737
Brian Koropoff [Sat, 4 Oct 2014 03:07:43 +0000 (20:07 -0700)]
Add regression test for issue #17737

9 years agoauto merge of #17752 : SimonSapin/rust/patch-6, r=thestinger
bors [Sat, 4 Oct 2014 02:42:07 +0000 (02:42 +0000)]
auto merge of #17752 : SimonSapin/rust/patch-6, r=thestinger

`v.len()` counts code units, not UTF-16 bytes. The lower bound is one UTF-8 byte per code unit, not per two code units.

I believe this is correct, but it’s late. Someone please double check.

9 years agoFix type visitor glue for unboxed closures
Brian Koropoff [Sat, 4 Oct 2014 02:40:19 +0000 (19:40 -0700)]
Fix type visitor glue for unboxed closures

This is a quick fix that prevents an ICE by mimicing the visitor
glue for boxed closures and bare functions.  Ideally, the `TyVisitor`
interface will be improved in the future to allow representing
more information about unboxed closures such as Fn/FnMut/FnOnce
status, capture mode, and captured free variable types and offsets.

Closes issue #17737

9 years agoauto merge of #17731 : bkoropoff/rust/unboxed-by-ref, r=pcwalton
bors [Sat, 4 Oct 2014 00:17:04 +0000 (00:17 +0000)]
auto merge of #17731 : bkoropoff/rust/unboxed-by-ref, r=pcwalton

This began as an attempt to fix an ICE in borrowck (issue #17655), but the rabbit hole went pretty deep.  I ended up plumbing support for capture-by-reference unboxed closures all the way into trans.

Closes issue #17655.

9 years agotest: Fix a test that fails when cross compiling
Alex Crichton [Fri, 3 Oct 2014 23:13:33 +0000 (16:13 -0700)]
test: Fix a test that fails when cross compiling

Hopefully unblocks a snapshot

9 years agoauto merge of #17743 : steveklabnik/rust/receiver_fix, r=alexcrichton
bors [Fri, 3 Oct 2014 22:32:02 +0000 (22:32 +0000)]
auto merge of #17743 : steveklabnik/rust/receiver_fix, r=alexcrichton

9 years agoAdds comma
Rahul Horé [Fri, 3 Oct 2014 20:40:58 +0000 (16:40 -0400)]
Adds comma

Oddly (to me), this code runs fine without the comma separating the `Some` and `None` arms of the `match` construct. It seems like Rust doesn't require you to separate arms with commas if all the expressions are enclosed in braces.

9 years agoFix preallocation amount in String::from_utf16
Simon Sapin [Fri, 3 Oct 2014 20:20:04 +0000 (21:20 +0100)]
Fix preallocation amount in String::from_utf16

`v.len()` counts code units, not UTF-16 bytes. The lower bound is one UTF-8 byte per code unit, not per two code units.

9 years agoFixes wording
Rahul Horé [Fri, 3 Oct 2014 19:59:57 +0000 (15:59 -0400)]
Fixes wording

9 years agoRemoves extra .
Rahul Horé [Fri, 3 Oct 2014 19:41:59 +0000 (15:41 -0400)]
Removes extra .

9 years agoAdds missing cd
Rahul Horé [Fri, 3 Oct 2014 18:47:57 +0000 (14:47 -0400)]
Adds missing cd

9 years agoauto merge of #17742 : alexcrichton/rust/rollup, r=alexcrichton
bors [Fri, 3 Oct 2014 18:47:13 +0000 (18:47 +0000)]
auto merge of #17742 : alexcrichton/rust/rollup, r=alexcrichton

Trying to get a couple of these into the next snapshot.

9 years agoTest fixes from the rollup
Alex Crichton [Fri, 3 Oct 2014 15:00:27 +0000 (08:00 -0700)]
Test fixes from the rollup

9 years agoUse similar syntax in all arms
Rahul Horé [Fri, 3 Oct 2014 18:41:55 +0000 (14:41 -0400)]
Use similar syntax in all arms

See issue #17672. This was started in commit ee1cbb9c71bfab8500dfabedb35ba63dd1e5b7ff, but there were a few more lines to update.

9 years agoFixes output
Rahul Horé [Fri, 3 Oct 2014 17:59:32 +0000 (13:59 -0400)]
Fixes output

9 years agoAdds trailing comma
Rahul Horé [Fri, 3 Oct 2014 17:50:42 +0000 (13:50 -0400)]
Adds trailing comma

9 years agoFixes spacing
Rahul Horé [Fri, 3 Oct 2014 17:37:05 +0000 (13:37 -0400)]
Fixes spacing

9 years agoUpdate signature of try_recv()
Steve Klabnik [Fri, 3 Oct 2014 15:58:52 +0000 (11:58 -0400)]
Update signature of try_recv()

9 years agoFix lev_distance
Till Hoeppner [Fri, 3 Oct 2014 12:59:47 +0000 (14:59 +0200)]
Fix lev_distance

9 years agorollup merge of #17739 : eddyb/fix-process-test
Alex Crichton [Fri, 3 Oct 2014 14:39:45 +0000 (07:39 -0700)]
rollup merge of #17739 : eddyb/fix-process-test

9 years agorollup merge of #17741 : alexcrichton/travis-again
Alex Crichton [Fri, 3 Oct 2014 14:38:45 +0000 (07:38 -0700)]
rollup merge of #17741 : alexcrichton/travis-again

9 years agorollup merge of #17730 : alexcrichton/snapshot
Alex Crichton [Fri, 3 Oct 2014 14:38:41 +0000 (07:38 -0700)]
rollup merge of #17730 : alexcrichton/snapshot

9 years agorollup merge of #17729 : alexcrichton/issue-17718-start
Alex Crichton [Fri, 3 Oct 2014 14:38:29 +0000 (07:38 -0700)]
rollup merge of #17729 : alexcrichton/issue-17718-start

9 years agorollup merge of #17387 : sneves/master
Alex Crichton [Fri, 3 Oct 2014 14:38:22 +0000 (07:38 -0700)]
rollup merge of #17387 : sneves/master

9 years agorollup merge of #17215 : P1start/lints
Alex Crichton [Fri, 3 Oct 2014 14:38:12 +0000 (07:38 -0700)]
rollup merge of #17215 : P1start/lints

9 years agotravis: Fix for real this time
Alex Crichton [Fri, 3 Oct 2014 14:25:10 +0000 (07:25 -0700)]
travis: Fix for real this time

I ended up botching the merge when making the rollup, and the fix was to just
not configure LLVM all via --llvm-root with a nonexistent path.

9 years agoFix a race condition between remove_from_env and other io::process tests.
Eduard Burtescu [Fri, 3 Oct 2014 14:16:05 +0000 (17:16 +0300)]
Fix a race condition between remove_from_env and other io::process tests.

9 years agotests: remove old compile-fail test asserting the removal of `const`.
Eduard Burtescu [Fri, 3 Oct 2014 11:26:07 +0000 (14:26 +0300)]
tests: remove old compile-fail test asserting the removal of `const`.

9 years agoAdd some more test coverage of by-ref unboxed closures
Brian Koropoff [Fri, 3 Oct 2014 07:57:21 +0000 (00:57 -0700)]
Add some more test coverage of by-ref unboxed closures

9 years agoMove the lint for the stability lints to the method name only
P1start [Wed, 17 Sep 2014 10:34:18 +0000 (22:34 +1200)]
Move the lint for the stability lints to the method name only

Closes #17337.

9 years agoChange rustc pretty-printing to print [T, ..n] instead of [T, .. n]
P1start [Sat, 13 Sep 2014 02:12:22 +0000 (14:12 +1200)]
Change rustc pretty-printing to print [T, ..n] instead of [T, .. n]

9 years agoReport trait/impl sig inconsistency before method/body inconsistency
P1start [Sat, 13 Sep 2014 02:10:10 +0000 (14:10 +1200)]
Report trait/impl sig inconsistency before method/body inconsistency

Closes #15657.

9 years agoCorrect error message for invalid `ref`/`mut` bindings
P1start [Sat, 13 Sep 2014 02:09:22 +0000 (14:09 +1200)]
Correct error message for invalid `ref`/`mut` bindings

Closes #15914.

9 years agoImprove the `non_snake_case` lint to give better suggestions
P1start [Sat, 13 Sep 2014 01:59:15 +0000 (13:59 +1200)]
Improve the `non_snake_case` lint to give better suggestions

9 years agoUpdate the `unused` lint group to include more lints
P1start [Sat, 13 Sep 2014 01:58:35 +0000 (13:58 +1200)]
Update the `unused` lint group to include more lints

9 years agoSet the `non_uppercase_statics` lint to warn by default
P1start [Sat, 13 Sep 2014 01:55:37 +0000 (13:55 +1200)]
Set the `non_uppercase_statics` lint to warn by default

9 years agoauto merge of #16995 : kmcallister/rust/plugin-tutorial, r=alexcrichton
bors [Fri, 3 Oct 2014 07:33:26 +0000 (07:33 +0000)]
auto merge of #16995 : kmcallister/rust/plugin-tutorial, r=alexcrichton

@steveklabnik, are you interested in looking this over?

9 years agoauto merge of #17725 : alexcrichton/rust/rollup, r=alexcrichton
bors [Fri, 3 Oct 2014 05:02:37 +0000 (05:02 +0000)]
auto merge of #17725 : alexcrichton/rust/rollup, r=alexcrichton