]> git.lizzy.rs Git - rust.git/log
rust.git
9 years agoAuto merge of #24306 - l0kod:libc-noctty, r=alexcrichton
bors [Thu, 16 Apr 2015 05:27:20 +0000 (05:27 +0000)]
Auto merge of #24306 - l0kod:libc-noctty, r=alexcrichton

cf. open(2): If the open file refers to a terminal device it will not become the process's controlling terminal even if the process does not have one.

9 years agoAuto merge of #23682 - tamird:DRY-is-empty, r=alexcrichton
bors [Thu, 16 Apr 2015 03:22:21 +0000 (03:22 +0000)]
Auto merge of #23682 - tamird:DRY-is-empty, r=alexcrichton

r? @alexcrichton

9 years agoAuto merge of #24485 - brson:is, r=alexcrichton
bors [Thu, 16 Apr 2015 01:17:04 +0000 (01:17 +0000)]
Auto merge of #24485 - brson:is, r=alexcrichton

It was an oversight that this was not done in the great int upheaval.

[breaking-change]

9 years agoForbid is/us suffixes. Fixes #22496
Brian Anderson [Wed, 15 Apr 2015 23:11:56 +0000 (16:11 -0700)]
Forbid is/us suffixes. Fixes #22496

It was an oversight that this was not done in the great int upheaval.

[breaking-change]

9 years agoAuto merge of #24481 - steveklabnik:rollup, r=steveklabnik
bors [Wed, 15 Apr 2015 23:09:02 +0000 (23:09 +0000)]
Auto merge of #24481 - steveklabnik:rollup, r=steveklabnik

- Successful merges: #24425, #24435, #24438, #24440, #24449, #24457, #24460, #24465, #24467, #24468, #24471, #24476, #24480
- Failed merges:

9 years agoRollup merge of #24480 - achanda:move_test, r=alexcrichton
Steve Klabnik [Wed, 15 Apr 2015 21:26:09 +0000 (17:26 -0400)]
Rollup merge of #24480 - achanda:move_test, r=alexcrichton

- Also move common functions to test.rs
- Leaves out Socket address related tests in addr.rs

9 years agoRollup merge of #24476 - brettcannon:patch-3, r=steveklabnik
Steve Klabnik [Wed, 15 Apr 2015 21:26:09 +0000 (17:26 -0400)]
Rollup merge of #24476 - brettcannon:patch-3, r=steveklabnik

"as an library" -> "as a library"

9 years agoRollup merge of #24471 - andrewseidl:master, r=alexcrichton
Steve Klabnik [Wed, 15 Apr 2015 21:26:09 +0000 (17:26 -0400)]
Rollup merge of #24471 - andrewseidl:master, r=alexcrichton

Use external instead of relative link for rustbyexample.com in generated `src/doc/index.md`. (http://doc.rust-lang.org/nightly/index.html)

Previous: http://doc.rust-lang.org/nightly/rustbyexample.com
Desired: http://rustbyexample.com/

9 years agoRollup merge of #24468 - brettcannon:patch-2, r=alexcrichton
Steve Klabnik [Wed, 15 Apr 2015 21:26:08 +0000 (17:26 -0400)]
Rollup merge of #24468 - brettcannon:patch-2, r=alexcrichton

Link spanned a line and was missing the actual link target.

9 years agoRollup merge of #24467 - brettcannon:patch-1, r=alexcrichton
Steve Klabnik [Wed, 15 Apr 2015 21:26:08 +0000 (17:26 -0400)]
Rollup merge of #24467 - brettcannon:patch-1, r=alexcrichton

Had a newline in middle of a link, causing the link text to be shown with `[]`.

9 years agoRollup merge of #24465 - steveklabnik:intoiteratordocfix, r=alexcrichton
Steve Klabnik [Wed, 15 Apr 2015 21:26:08 +0000 (17:26 -0400)]
Rollup merge of #24465 - steveklabnik:intoiteratordocfix, r=alexcrichton

9 years agoRollup merge of #24460 - bytewiseand:master, r=alexcrichton
Steve Klabnik [Wed, 15 Apr 2015 21:26:08 +0000 (17:26 -0400)]
Rollup merge of #24460 - bytewiseand:master, r=alexcrichton

Closes #24197
Closes #24375

These ICEs are fixed on nightly.

9 years agoRollup merge of #24457 - Ms2ger:more-typos, r=alexcrichton
Steve Klabnik [Wed, 15 Apr 2015 21:26:07 +0000 (17:26 -0400)]
Rollup merge of #24457 - Ms2ger:more-typos, r=alexcrichton

9 years agoRollup merge of #24449 - richo:typo, r=alexcrichton
Steve Klabnik [Wed, 15 Apr 2015 21:26:07 +0000 (17:26 -0400)]
Rollup merge of #24449 - richo:typo, r=alexcrichton

Spotted a typo, opened a tiny PR.

9 years agoRollup merge of #24440 - nham:improve_enumerate_doc, r=alexcrichton
Steve Klabnik [Wed, 15 Apr 2015 21:26:07 +0000 (17:26 -0400)]
Rollup merge of #24440 - nham:improve_enumerate_doc, r=alexcrichton

I found that the current description of `enumerate()` doesn't actually tell you what, specifically, the method does, and you have to look at the example to figure it out. Here's a description that I think is better.

9 years agoRollup merge of #24438 - nrc:tuple-span, r=sfackler
Steve Klabnik [Wed, 15 Apr 2015 21:26:07 +0000 (17:26 -0400)]
Rollup merge of #24438 - nrc:tuple-span, r=sfackler

9 years agoRollup merge of #24435 - killercup:patch-9, r=steveklabnik
Steve Klabnik [Wed, 15 Apr 2015 21:26:07 +0000 (17:26 -0400)]
Rollup merge of #24435 - killercup:patch-9, r=steveklabnik

The link works on the `std/ptr/index.html` docs page, but not the `std/primitive.pointer.html` page. Instead of leaving it half-broken, it is removed.

I tried fixing this in #24432, but @alexcrichton mentioned that this doc string was used in two places (with different base paths unfortunately).

r? @alexcrichton

9 years agoRollup merge of #24425 - dhuseby:bitrig_fixing_tests_3, r=alexcrichton
Steve Klabnik [Wed, 15 Apr 2015 21:26:06 +0000 (17:26 -0400)]
Rollup merge of #24425 - dhuseby:bitrig_fixing_tests_3, r=alexcrichton

the code block in the no-stdlib.md file caused test failure on bitrig and openbsd.

Closes #24108

9 years agoAuto merge of #24330 - pnkfelix:issue-24267, r=nikomatsakis
bors [Wed, 15 Apr 2015 21:05:16 +0000 (21:05 +0000)]
Auto merge of #24330 - pnkfelix:issue-24267, r=nikomatsakis

Extend rustc::middle::dataflow to allow filtering kills from flow-exits.

Fix borrowck analysis so that it will not treat a break that pops through an assignment
```rust
x = { ... break; ... }
```
as a kill of the "moved-out" bit for `x`.

Fix #24267.

[breaking-change], but really, its only breaking code that was already buggy.

9 years agoMove IP related tests to ip.rs
Abhishek Chanda [Wed, 15 Apr 2015 20:48:42 +0000 (13:48 -0700)]
Move IP related tests to ip.rs

- Also move common functions to test.rs
- Leaves out Socket address related tests in addr.rs

9 years agoGrammar fix
Brett Cannon [Wed, 15 Apr 2015 19:56:01 +0000 (15:56 -0400)]
Grammar fix

"as an library" -> "as a library"

9 years agoDescribe the Iterator enumerate() method more clearly.
Nick Hamann [Wed, 15 Apr 2015 01:11:37 +0000 (20:11 -0500)]
Describe the Iterator enumerate() method more clearly.

9 years agodoc: Fix link to rustbyexample.com
Andrew Seidl [Wed, 15 Apr 2015 17:58:00 +0000 (12:58 -0500)]
doc: Fix link to rustbyexample.com

9 years agoFix link to stack/heap page
Brett Cannon [Wed, 15 Apr 2015 16:57:22 +0000 (12:57 -0400)]
Fix link to stack/heap page

Link spanned a line and was mising the actual link target.

9 years agoFix link formatting error
Brett Cannon [Wed, 15 Apr 2015 16:51:34 +0000 (12:51 -0400)]
Fix link formatting error

Had a newline in middle of a link, causing the link text to be shown with `[]`.

9 years agoAuto merge of #24436 - fhahn:fix-small-typo, r=steveklabnik
bors [Wed, 15 Apr 2015 16:19:00 +0000 (16:19 +0000)]
Auto merge of #24436 - fhahn:fix-small-typo, r=steveklabnik

9 years agoRegression test.
Felix S. Klock II [Sat, 11 Apr 2015 16:57:41 +0000 (18:57 +0200)]
Regression test.

9 years agoDataflow changes and associated borrowck fix.
Felix S. Klock II [Sat, 11 Apr 2015 16:42:33 +0000 (18:42 +0200)]
Dataflow changes and associated borrowck fix.

Revise rustc::middle::dataflow: one must select kill-kind when calling
add_kill. The current kill-kinds are (1.) kills associated with
ends-of-scopes and (2.) kills associated with the actual action of the
expression/pattern.

Then, use this to fix borrowck analysis so that it will not treat a
break that pops through an assignment `x = { ... break; ... }` as a
kill of the "moved-out" bit for `x`.

Fix #24267.

(incorporated review feedback.)

9 years agoFix link in intoiterator docs
Steve Klabnik [Wed, 15 Apr 2015 15:43:43 +0000 (11:43 -0400)]
Fix link in intoiterator docs

9 years agoAdd tests for "ident only path should have been covered"-ICE
Andreas Martens [Wed, 15 Apr 2015 09:32:12 +0000 (11:32 +0200)]
Add tests for "ident only path should have been covered"-ICE

9 years agoFix some typos.
Ms2ger [Wed, 25 Mar 2015 17:02:11 +0000 (18:02 +0100)]
Fix some typos.

9 years agoAuto merge of #24426 - alexcrichton:windows-pipes, r=aturon
bors [Wed, 15 Apr 2015 08:21:43 +0000 (08:21 +0000)]
Auto merge of #24426 - alexcrichton:windows-pipes, r=aturon

This commit removes the last remnants of file descriptors from the Windows
implementation of `std::sys` by using `CreatePipe` to create anonymous pipes
instead of the `pipe` shim provided in msvcrt.

9 years agorustc: fix a typo in letter to rustc
Richo Healey [Wed, 15 Apr 2015 07:07:25 +0000 (00:07 -0700)]
rustc: fix a typo in letter to rustc

9 years agoAuto merge of #24211 - alexcrichton:windows-wsa-flag-overlapped, r=aturon
bors [Wed, 15 Apr 2015 06:18:51 +0000 (06:18 +0000)]
Auto merge of #24211 - alexcrichton:windows-wsa-flag-overlapped, r=aturon

This commit modifies the socket creation functions on windows to always specify
the `WSA_FLAG_OVERLAPPED` and `WSA_FLAG_NO_HANDLE_INHERIT` flags by default. The
overlapped flag enables IOCP APIs on Windows to be used with the socket at no
cost, enabling better interoperation with external libraries. The no handle
inherit flag mirrors the upcoming change to Unix to set CLOEXEC by default for
all handles.

Closes #24206

9 years agoAuto merge of #24431 - ruud-v-a:explain, r=alexcrichton
bors [Wed, 15 Apr 2015 04:14:50 +0000 (04:14 +0000)]
Auto merge of #24431 - ruud-v-a:explain, r=alexcrichton

This resolves part of #24407.

9 years agoFill in missing implementation
Tamir Duberstein [Wed, 25 Mar 2015 00:02:18 +0000 (17:02 -0700)]
Fill in missing implementation

9 years agoNegative case of `len()` -> `is_empty()`
Tamir Duberstein [Tue, 24 Mar 2015 23:54:09 +0000 (16:54 -0700)]
Negative case of `len()` -> `is_empty()`

`s/([^\(\s]+\.)len\(\) [(?:!=)>] 0/!$1is_empty()/g`

9 years agoPositive case of `len()` -> `is_empty()`
Tamir Duberstein [Tue, 24 Mar 2015 23:53:34 +0000 (16:53 -0700)]
Positive case of `len()` -> `is_empty()`

`s/(?<!\{ self)(?<=\.)len\(\) == 0/is_empty()/g`

9 years agoAuto merge of #24433 - alexcrichton:rollup, r=alexcrichton
bors [Wed, 15 Apr 2015 01:05:03 +0000 (01:05 +0000)]
Auto merge of #24433 - alexcrichton:rollup, r=alexcrichton

9 years agoTest fixes and rebase conflicts, round 2
Alex Crichton [Tue, 14 Apr 2015 21:37:14 +0000 (14:37 -0700)]
Test fixes and rebase conflicts, round 2

9 years agoFix the span for tuple expressions
Nick Cameron [Tue, 14 Apr 2015 23:20:17 +0000 (11:20 +1200)]
Fix the span for tuple expressions

9 years agoRemove superfluous `the` from `custom_attribute` feature gate message
Florian Hahn [Tue, 14 Apr 2015 21:24:03 +0000 (23:24 +0200)]
Remove superfluous `the` from `custom_attribute` feature gate message

9 years agoRemove Incorrect Link from std::ptr::null Docs
Pascal Hertleif [Tue, 14 Apr 2015 21:22:37 +0000 (23:22 +0200)]
Remove Incorrect Link from std::ptr::null Docs

The link works on the std::ptr docs page, but not the primitive.ptr.html page.
Instead of leaving it half-broken, it is removed.

9 years agoMerge remote-tracking branch 'origin/master' into rollup
Alex Crichton [Tue, 14 Apr 2015 21:13:42 +0000 (14:13 -0700)]
Merge remote-tracking branch 'origin/master' into rollup

Conflicts:
src/librustc/middle/stability.rs

9 years agostd: Remove final usage of fds from Windows
Alex Crichton [Tue, 14 Apr 2015 18:17:47 +0000 (11:17 -0700)]
std: Remove final usage of fds from Windows

This commit removes the last remnants of file descriptors from the Windows
implementation of `std::sys` by using `CreatePipe` to create anonymous pipes
instead of the `pipe` shim provided in msvcrt.

9 years agoTest fixes and rebase conflicts
Alex Crichton [Tue, 14 Apr 2015 19:18:37 +0000 (12:18 -0700)]
Test fixes and rebase conflicts

9 years agoAuto merge of #24399 - brson:stab, r=nrc
bors [Tue, 14 Apr 2015 18:59:26 +0000 (18:59 +0000)]
Auto merge of #24399 - brson:stab, r=nrc

9 years agodisabling a test for bitrig and openbsd
Dave Huseby [Tue, 14 Apr 2015 18:18:12 +0000 (11:18 -0700)]
disabling a test for bitrig and openbsd

9 years agoMake use of the stability attributes issue a deprecation warning. #22830
Brian Anderson [Tue, 14 Apr 2015 01:42:24 +0000 (18:42 -0700)]
Make use of the stability attributes issue a deprecation warning. #22830

9 years agorustc: Add long diagnostics for E0165
Ruud van Asseldonk [Tue, 14 Apr 2015 18:11:04 +0000 (20:11 +0200)]
rustc: Add long diagnostics for E0165

9 years agostd: Set overlap/noinherit flags on windows sockets
Alex Crichton [Wed, 8 Apr 2015 22:43:37 +0000 (15:43 -0700)]
std: Set overlap/noinherit flags on windows sockets

This commit modifies the socket creation functions on windows to always specify
the `WSA_FLAG_OVERLAPPED` and `WSA_FLAG_NO_HANDLE_INHERIT` flags by default. The
overlapped flag enables IOCP APIs on Windows to be used with the socket at no
cost, enabling better interoperation with external libraries. The no handle
inherit flag mirrors the upcoming change to Unix to set CLOEXEC by default for
all handles.

Closes #24206

9 years agorustc: Add long diagnostics for E0162
Ruud van Asseldonk [Tue, 14 Apr 2015 18:00:17 +0000 (20:00 +0200)]
rustc: Add long diagnostics for E0162

9 years agorollup merge of #24385: aturon/unstable-scoped
Alex Crichton [Tue, 14 Apr 2015 17:59:55 +0000 (10:59 -0700)]
rollup merge of #24385: aturon/unstable-scoped

Conflicts:
src/libstd/thread/mod.rs
src/test/bench/shootout-mandelbrot.rs
src/test/bench/shootout-reverse-complement.rs
src/test/run-pass/capturing-logging.rs
src/test/run-pass/issue-9396.rs
src/test/run-pass/tcp-accept-stress.rs
src/test/run-pass/tcp-connect-timeouts.rs
src/test/run-pass/tempfile.rs

9 years agorollup merge of #24377: apasel422/docs
Alex Crichton [Tue, 14 Apr 2015 17:56:57 +0000 (10:56 -0700)]
rollup merge of #24377: apasel422/docs

Conflicts:
src/libstd/net/ip.rs
src/libstd/sys/unix/fs.rs
src/libstd/sys/unix/mod.rs
src/libstd/sys/windows/mod.rs

9 years agorollup merge of #24401: fenduru/patch-2
Alex Crichton [Tue, 14 Apr 2015 17:56:00 +0000 (10:56 -0700)]
rollup merge of #24401: fenduru/patch-2

Not sure if `From<Error>` is the correct way to reference that trait (maybe `From<E: Error>`?)

r? @steveklabnik

9 years agorollup merge of #24399: brson/stab
Alex Crichton [Tue, 14 Apr 2015 17:55:59 +0000 (10:55 -0700)]
rollup merge of #24399: brson/stab

9 years agorollup merge of #24398: steveklabnik/thanks_mdinger
Alex Crichton [Tue, 14 Apr 2015 17:55:58 +0000 (10:55 -0700)]
rollup merge of #24398: steveklabnik/thanks_mdinger

The two-step command left off the nightly flag :frown:

Thanks @mdinger

9 years agorollup merge of #24394: rundrop1/patch-1
Alex Crichton [Tue, 14 Apr 2015 17:55:57 +0000 (10:55 -0700)]
rollup merge of #24394: rundrop1/patch-1

Feel silly because it's just one thing but it was bothering me that the documentation tells you what you're not going to learn now instead of linking to the item in question.  Am total noob pls assist, where is power button. :)

9 years agorollup merge of #24393: steveklabnik/rbe
Alex Crichton [Tue, 14 Apr 2015 17:55:56 +0000 (10:55 -0700)]
rollup merge of #24393: steveklabnik/rbe

It's no longer a community based project.

Also, Rust for Rubyists is deprecated at this point, so we shouldn't
link to it anymore.

9 years agorollup merge of #24391: nrc/visit-vis
Alex Crichton [Tue, 14 Apr 2015 17:55:55 +0000 (10:55 -0700)]
rollup merge of #24391: nrc/visit-vis

9 years agorollup merge of #24386: nagisa/rte-fix
Alex Crichton [Tue, 14 Apr 2015 17:55:54 +0000 (10:55 -0700)]
rollup merge of #24386: nagisa/rte-fix

r? @steveklabnik

9 years agorollup merge of #24381: erickt/cleanup
Alex Crichton [Tue, 14 Apr 2015 17:55:53 +0000 (10:55 -0700)]
rollup merge of #24381: erickt/cleanup

Just some minor patches I've been sitting on.

9 years agorollup merge of #24380: arielb1/no-enum-suggest
Alex Crichton [Tue, 14 Apr 2015 17:55:52 +0000 (10:55 -0700)]
rollup merge of #24380: arielb1/no-enum-suggest

Fixes #24365

9 years agorollup merge of #24379: rkruppe/fmt-negative-zero
Alex Crichton [Tue, 14 Apr 2015 17:55:51 +0000 (10:55 -0700)]
rollup merge of #24379: rkruppe/fmt-negative-zero

Fixes #20596 by making `Debug` render negative zero with a `-` without affecting the behavior of `Display`.

While I was at it, I also removed some dead code from `float_to_str_bytes_common` (the one from `libcore/fmt/float.rs`, not the function of the same name in `libstd/num/strconv.rs`). It had support for different bases, and for negative numbers, but the function is internal to core and the couple places that call it (all in `libcore/fmt/mod.rs`) never use those features: They pass in `num.abs()` and base 10.

9 years agorollup merge of #24376: lambdaburrito/master
Alex Crichton [Tue, 14 Apr 2015 17:55:48 +0000 (10:55 -0700)]
rollup merge of #24376: lambdaburrito/master

Values for `_SC_*` are not the same value between `macos` and `linux` so I've added specific target constants for Mac OS X and added `_SC_NPROCESSORS_ONLN` for `linux` and `macos`.

Closes #24374

9 years agorollup merge of #24371: dotdash/24353
Alex Crichton [Tue, 14 Apr 2015 17:55:47 +0000 (10:55 -0700)]
rollup merge of #24371: dotdash/24353

Fixes #24353

9 years agorollup merge of #24368: kgv/fix
Alex Crichton [Tue, 14 Apr 2015 17:55:46 +0000 (10:55 -0700)]
rollup merge of #24368: kgv/fix

Remove arity link from enums.md

r? @steveklabnik

9 years agorollup merge of #24350: tbelaire/cstring-doc-from-vec
Alex Crichton [Tue, 14 Apr 2015 17:55:45 +0000 (10:55 -0700)]
rollup merge of #24350: tbelaire/cstring-doc-from-vec

It looks like `from_vec` was subsumed by new at some point,
but the documentation still refers to it as `from_vec`.

This updates the documentation for `from_vec_unchecked`
so that it properly says that it's the unchecked version of `new`.

Also, from_vec_unchecked requires a actual Vec<u8> while
new can take anything that is Into<Vec<u8>>, so I also
mention that in the documentation.

Since this is documentation:
r? @steveklabnik

9 years agorollup merge of #24343: achanda/global_ip
Alex Crichton [Tue, 14 Apr 2015 17:55:45 +0000 (10:55 -0700)]
rollup merge of #24343: achanda/global_ip

- Adds two more functions for broadcast address and special
  address classes reserved for documentation
- Modifies the globally routable IP check to include these
  new functions

Fixes #24314

9 years agorollup merge of #24342: tbelaire/patch-1
Alex Crichton [Tue, 14 Apr 2015 17:55:44 +0000 (10:55 -0700)]
rollup merge of #24342: tbelaire/patch-1

It was mistakenly calling `with_extension` with "foo.txt" instead of "txt".
I've also added an assert.  This also calls more attention to the fact you get back a PathBuf, instead of a Path, which I feel is easy to miss when skimming.

9 years agorollup merge of #24337: barosl/rustdoc-help-key
Alex Crichton [Tue, 14 Apr 2015 17:55:43 +0000 (10:55 -0700)]
rollup merge of #24337: barosl/rustdoc-help-key

Only '?' should do that.

Fixes #24289.

9 years agorollup merge of #24329: GuillaumeGomez/atomicbool
Alex Crichton [Tue, 14 Apr 2015 17:55:42 +0000 (10:55 -0700)]
rollup merge of #24329: GuillaumeGomez/atomicbool

Fixes #24319.

9 years agorollup merge of #24310: alexcrichton/stabilize-utf8-error
Alex Crichton [Tue, 14 Apr 2015 17:55:41 +0000 (10:55 -0700)]
rollup merge of #24310: alexcrichton/stabilize-utf8-error

The meaning of each variant of this enum was somewhat ambiguous and it's uncler
that we wouldn't even want to add more enumeration values in the future. As a
result this error has been altered to instead become an opaque structure.
Learning about the "first invalid byte index" is still an unstable feature, but
the type itself is now stable.

9 years agorollup merge of #24303: alexcrichton/remove-deprecated
Alex Crichton [Tue, 14 Apr 2015 17:55:41 +0000 (10:55 -0700)]
rollup merge of #24303: alexcrichton/remove-deprecated

This commit removes these long deprecated modules. Such a nice diff stat!

9 years agorollup merge of #24273: steveklabnik/even_moar_editing
Alex Crichton [Tue, 14 Apr 2015 17:55:41 +0000 (10:55 -0700)]
rollup merge of #24273: steveklabnik/even_moar_editing

Three more sections

9 years agorollup merge of #24048: frewsxcv/patch-11
Alex Crichton [Tue, 14 Apr 2015 17:55:40 +0000 (10:55 -0700)]
rollup merge of #24048: frewsxcv/patch-11

Since it doesn't utilize the parameter, it's not very idiomatic since it
could just use the `Result::or` method. So this changes the example to
utilize the parameter. As far as I can tell, all the numbers in this
example are completely arbitrary.

9 years agomutability fixes
Steve Klabnik [Tue, 14 Apr 2015 17:41:31 +0000 (13:41 -0400)]
mutability fixes

9 years agorustc: Add long diagnostics for E0302
Ruud van Asseldonk [Tue, 14 Apr 2015 17:39:58 +0000 (19:39 +0200)]
rustc: Add long diagnostics for E0302

9 years agorustc: Add long diagnostics for E0301
Ruud van Asseldonk [Tue, 14 Apr 2015 17:31:42 +0000 (19:31 +0200)]
rustc: Add long diagnostics for E0301

9 years agorustc: Add long diagnostics for E0297
Ruud van Asseldonk [Tue, 14 Apr 2015 16:27:41 +0000 (18:27 +0200)]
rustc: Add long diagnostics for E0297

9 years agoMore test fixes
Alex Crichton [Fri, 10 Apr 2015 20:51:53 +0000 (13:51 -0700)]
More test fixes

9 years agostd: Remove AsSlice/Str from the prelude
Alex Crichton [Fri, 10 Apr 2015 20:46:17 +0000 (13:46 -0700)]
std: Remove AsSlice/Str from the prelude

9 years agobench: Fix fallout in benchmarks
Alex Crichton [Fri, 10 Apr 2015 20:39:51 +0000 (13:39 -0700)]
bench: Fix fallout in benchmarks

9 years agocore: Update all Result docs
Alex Crichton [Fri, 10 Apr 2015 20:23:17 +0000 (13:23 -0700)]
core: Update all Result docs

9 years agorand: Delete all doc tests
Alex Crichton [Fri, 10 Apr 2015 20:07:58 +0000 (13:07 -0700)]
rand: Delete all doc tests

None of these actually compile any more!

9 years agotest: Fixup many library unit tests
Alex Crichton [Fri, 10 Apr 2015 18:39:53 +0000 (11:39 -0700)]
test: Fixup many library unit tests

9 years agosyntax: Remove derive(Rand)
Alex Crichton [Fri, 10 Apr 2015 18:39:41 +0000 (11:39 -0700)]
syntax: Remove derive(Rand)

9 years agotest: Fix fallout in run-pass tests
Alex Crichton [Fri, 10 Apr 2015 18:12:43 +0000 (11:12 -0700)]
test: Fix fallout in run-pass tests

9 years agocompiletest: Re-add raise_fd_limit
Alex Crichton [Fri, 10 Apr 2015 17:36:13 +0000 (10:36 -0700)]
compiletest: Re-add raise_fd_limit

This apparently fixes obscure bugs on OSX!

9 years agostd: Reexport some unstable rand functionality for now
Alex Crichton [Fri, 10 Apr 2015 01:04:42 +0000 (18:04 -0700)]
std: Reexport some unstable rand functionality for now

Needed to get modules like rustc_back::tempdir compiling.

9 years agorustc_back: Rewrite realpath to not use old_io
Alex Crichton [Fri, 10 Apr 2015 01:04:11 +0000 (18:04 -0700)]
rustc_back: Rewrite realpath to not use old_io

Just bind the relevant platform-specific functions we should probably be calling
anyway.

9 years agostd: Remove old_io/old_path/rand modules
Alex Crichton [Fri, 10 Apr 2015 00:42:22 +0000 (17:42 -0700)]
std: Remove old_io/old_path/rand modules

This commit entirely removes the old I/O, path, and rand modules. All
functionality has been deprecated and unstable for quite some time now!

9 years agocopyediting: structs
Steve Klabnik [Fri, 10 Apr 2015 14:37:29 +0000 (10:37 -0400)]
copyediting: structs

9 years agoFallout: move from scoped to spawn
Aaron Turon [Mon, 13 Apr 2015 22:15:32 +0000 (15:15 -0700)]
Fallout: move from scoped to spawn

9 years agoAuto merge of #24312 - rprichard:destabilize-format-args, r=alexcrichton
bors [Tue, 14 Apr 2015 14:41:15 +0000 (14:41 +0000)]
Auto merge of #24312 - rprichard:destabilize-format-args, r=alexcrichton

Fixes #22953.

9 years agoAuto merge of #24261 - nrc:coerce-refactor, r=nikomatsakis
bors [Tue, 14 Apr 2015 11:16:57 +0000 (11:16 +0000)]
Auto merge of #24261 - nrc:coerce-refactor, r=nikomatsakis

@eddyb's preparatory work for DST coercions

r? @nikomatsakis

9 years agoReviewer comments
Nick Cameron [Mon, 13 Apr 2015 23:44:26 +0000 (11:44 +1200)]
Reviewer comments

9 years agoBetter explanation of AutoDerefRef
Nick Cameron [Fri, 10 Apr 2015 10:11:52 +0000 (22:11 +1200)]
Better explanation of AutoDerefRef

9 years agoRebased
Nick Cameron [Fri, 10 Apr 2015 00:25:40 +0000 (12:25 +1200)]
Rebased

9 years agoeddyb's refactoring of coercions/adjustments
Eduard Burtescu [Mon, 16 Mar 2015 16:45:01 +0000 (18:45 +0200)]
eddyb's refactoring of coercions/adjustments