]> git.lizzy.rs Git - rust.git/log
rust.git
8 years agoRollup merge of #29068 - apasel422:tidy, r=alexcrichton
Manish Goregaokar [Thu, 15 Oct 2015 08:11:33 +0000 (13:41 +0530)]
Rollup merge of #29068 - apasel422:tidy, r=alexcrichton

r? @alexcrichton

8 years agoRollup merge of #29066 - dcarral:fix_issue_29063, r=steveklabnik
Manish Goregaokar [Thu, 15 Oct 2015 08:11:33 +0000 (13:41 +0530)]
Rollup merge of #29066 - dcarral:fix_issue_29063, r=steveklabnik

Regarding [#29063 _[Docs] Terminology inconsistency between 'iterator adapters' and 'iterator adaptors'_](https://github.com/rust-lang/rust/issues/29063) :

This PR replaces 'iterator adapters' appearances (in TRPL book) to 'iterator adaptors', thus embracing the terminology used along the API docs and achieving consistency between both sources.

8 years agoRollup merge of #29062 - rgardner:rgardner-fix-book-comp-warning, r=alexcrichton
Manish Goregaokar [Thu, 15 Oct 2015 08:11:33 +0000 (13:41 +0530)]
Rollup merge of #29062 - rgardner:rgardner-fix-book-comp-warning, r=alexcrichton

Before this commit, the first "A Rust library" code sample produced
the following compilation warning:
```
test.rs:7:22: 7:36 warning: unnecessary parentheses around `for` head
expression, #[warn(unused_parens)] on by default
test.rs:7             for _ in (0..5_000_000) {
```

This commit just removes the parens around the range 0..5_000_000 thereby removing the compilation warning.

8 years agoRollup merge of #29060 - tshepang:consistency, r=nikomatsakis
Manish Goregaokar [Thu, 15 Oct 2015 08:11:33 +0000 (13:41 +0530)]
Rollup merge of #29060 - tshepang:consistency, r=nikomatsakis

8 years agoRollup merge of #29059 - tshepang:typo, r=nikomatsakis
Manish Goregaokar [Thu, 15 Oct 2015 08:11:32 +0000 (13:41 +0530)]
Rollup merge of #29059 - tshepang:typo, r=nikomatsakis

8 years agoRollup merge of #29058 - tshepang:rename, r=steveklabnik
Manish Goregaokar [Thu, 15 Oct 2015 08:11:32 +0000 (13:41 +0530)]
Rollup merge of #29058 - tshepang:rename, r=steveklabnik

Shoud have been part of commit 0b13ee0ced39

8 years agoRollup merge of #29047 - gkoz:doc_typo, r=steveklabnik
Manish Goregaokar [Thu, 15 Oct 2015 08:11:32 +0000 (13:41 +0530)]
Rollup merge of #29047 - gkoz:doc_typo, r=steveklabnik

None

8 years agoRollup merge of #29022 - apasel422:spell, r=steveklabnik
Manish Goregaokar [Thu, 15 Oct 2015 08:11:32 +0000 (13:41 +0530)]
Rollup merge of #29022 - apasel422:spell, r=steveklabnik

r? @steveklabnik

8 years agoRollup merge of #28906 - tshepang:link, r=nikomatsakis
Manish Goregaokar [Thu, 15 Oct 2015 08:11:31 +0000 (13:41 +0530)]
Rollup merge of #28906 - tshepang:link, r=nikomatsakis

8 years agoAuto merge of #27017 - luqmana:25594-sysv-abi-ffi, r=bkoropoff
bors [Thu, 15 Oct 2015 05:19:18 +0000 (05:19 +0000)]
Auto merge of #27017 - luqmana:25594-sysv-abi-ffi, r=bkoropoff

Fixes #25594.

8 years agoUpdate the comments for Win64 ABI in tests.
Luqman Aden [Thu, 15 Oct 2015 02:16:13 +0000 (21:16 -0500)]
Update the comments for Win64 ABI in tests.

8 years agorust_trans: struct argument over ffi were passed incorrectly in some situations on...
Luqman Aden [Mon, 13 Jul 2015 17:16:43 +0000 (13:16 -0400)]
rust_trans: struct argument over ffi were passed incorrectly in some situations on x86_64.

8 years agoAuto merge of #28980 - nrc:unsafe-macros, r=@pnkfelix
bors [Thu, 15 Oct 2015 03:26:48 +0000 (03:26 +0000)]
Auto merge of #28980 - nrc:unsafe-macros, r=@pnkfelix

This is a [breaking change].

@brson could you do a Crater run with this PR please?

Lets not land till Crater says its OK.

This was discussed at https://internals.rust-lang.org/t/does-anyone-use-the-push-pop-unsafe-macros/2702

8 years agoRemove unnecessary parentheses around range expressions
Andrew Paseltiner [Thu, 15 Oct 2015 01:43:05 +0000 (21:43 -0400)]
Remove unnecessary parentheses around range expressions

8 years agoAuto merge of #29012 - tari:issue-28676, r=luqmana
bors [Thu, 15 Oct 2015 00:14:17 +0000 (00:14 +0000)]
Auto merge of #29012 - tari:issue-28676, r=luqmana

Fixes #28676.

There doesn't seem to be a good way to add a test for this, but I tested the repro in #28676 and confirmed it now yields the correct result.

8 years agoReplace 'adapters' to 'adaptors' in TRPL book
Daniel Carral [Thu, 15 Oct 2015 00:13:20 +0000 (02:13 +0200)]
Replace 'adapters' to 'adaptors' in TRPL book

Regarding #29063: Replace 'iterator adapters' appearances to
'iterator adaptors', thus embracing the terminology used along the
API docs and achieving consistency between both sources.

8 years agobook: be consistent with preceding example
Tshepang Lekhonkhobe [Wed, 14 Oct 2015 22:19:47 +0000 (00:19 +0200)]
book: be consistent with preceding example

8 years agobook: fix typo
Tshepang Lekhonkhobe [Wed, 14 Oct 2015 22:16:13 +0000 (00:16 +0200)]
book: fix typo

8 years agoreference: 'struct' is more common that 'structure'
Tshepang Lekhonkhobe [Wed, 14 Oct 2015 22:08:19 +0000 (00:08 +0200)]
reference: 'struct' is more common that 'structure'

Shoud have been part of commit 0b13ee0ced39

8 years agoreference: add link to the symbols
Tshepang Lekhonkhobe [Thu, 8 Oct 2015 05:41:16 +0000 (07:41 +0200)]
reference: add link to the symbols

8 years agoResolve unused_parens compilation warning
Robert Gardner [Wed, 14 Oct 2015 21:38:56 +0000 (17:38 -0400)]
Resolve unused_parens compilation warning

Before this commit, the first "A Rust library" code sample produced
the following compilation warning:
```
test.rs:7:22: 7:36 warning: unnecessary parentheses around `for` head
expression, #[warn(unused_parens)] on by default
test.rs:7             for _ in (0..5_000_000) {
```

This commit just removes the parens around the range 0..5_000_000.

8 years agoAdd test case for #28676.
Peter Marheine [Wed, 14 Oct 2015 20:25:38 +0000 (14:25 -0600)]
Add test case for #28676.

8 years agoAuto merge of #29044 - Ms2ger:cleanup-log, r=alexcrichton
bors [Wed, 14 Oct 2015 19:54:47 +0000 (19:54 +0000)]
Auto merge of #29044 - Ms2ger:cleanup-log, r=alexcrichton

8 years agoAuto merge of #29003 - tari:freebsd-current_exe-vec, r=alexcrichton
bors [Wed, 14 Oct 2015 18:03:47 +0000 (18:03 +0000)]
Auto merge of #29003 - tari:freebsd-current_exe-vec, r=alexcrichton

Fixes #28995.

8 years agoAuto merge of #29001 - arielb1:normalized-foreign, r=eddyb
bors [Wed, 14 Oct 2015 16:12:51 +0000 (16:12 +0000)]
Auto merge of #29001 - arielb1:normalized-foreign, r=eddyb

This is needed as item types are allowed to be unnormalized.

Fixes an ICE that occurs when foreign function signatures contained
an associated type.

Fixes #28983

8 years agoFix the link to `Default` trait in the prelude docs
Gleb Kozyrev [Wed, 14 Oct 2015 14:31:27 +0000 (17:31 +0300)]
Fix the link to `Default` trait in the prelude docs

8 years agoAuto merge of #28909 - GuillaumeGomez:patch-3, r=pnkfelix
bors [Wed, 14 Oct 2015 13:04:53 +0000 (13:04 +0000)]
Auto merge of #28909 - GuillaumeGomez:patch-3, r=pnkfelix

r? @Manishearth

8 years agoRemove the unnecessary local variable in set_logger.
Ms2ger [Wed, 14 Oct 2015 12:17:06 +0000 (14:17 +0200)]
Remove the unnecessary local variable in set_logger.

8 years agoUse if-let rather than map() in parse_logging_spec.
Ms2ger [Wed, 14 Oct 2015 12:16:48 +0000 (14:16 +0200)]
Use if-let rather than map() in parse_logging_spec.

8 years agoAuto merge of #28827 - thepowersgang:unsafe-const-fn-2, r=Aatch
bors [Wed, 14 Oct 2015 10:17:30 +0000 (10:17 +0000)]
Auto merge of #28827 - thepowersgang:unsafe-const-fn-2, r=Aatch

This is the original test implementation, which works according to the tests I wrote, but might need a review.

8 years agoAuto merge of #29039 - Manishearth:rollup, r=Manishearth
bors [Wed, 14 Oct 2015 07:24:36 +0000 (07:24 +0000)]
Auto merge of #29039 - Manishearth:rollup, r=Manishearth

- Successful merges: #28991, #29004, #29006, #29013, #29016, #29024, #29027, #29028, #29029, #29032, #29035
- Failed merges:

8 years agofix tidy
Manish Goregaokar [Wed, 14 Oct 2015 07:22:14 +0000 (12:52 +0530)]
fix tidy

8 years agoRollup merge of #29035 - rutsky:patch-6, r=steveklabnik
Manish Goregaokar [Wed, 14 Oct 2015 04:23:41 +0000 (09:53 +0530)]
Rollup merge of #29035 - rutsky:patch-6, r=steveklabnik

r? @steveklabnik

The link is broken here: <https://doc.rust-lang.org/std/io/#types>.

Looks like crate documentation generator uses only first paragraph of the module documentation and
so doesn't resolve the link defined below.

Probably this behaviour of the documentation generator should be considered as a bug and should be reported.

8 years agoRollup merge of #29032 - goyox86:goyox86/rusfmting-librustc_bitflags, r=alexcrichton
Manish Goregaokar [Wed, 14 Oct 2015 04:23:41 +0000 (09:53 +0530)]
Rollup merge of #29032 - goyox86:goyox86/rusfmting-librustc_bitflags, r=alexcrichton

Hi Rustaceans!

This is the result of running latest rustfmt on librustc_bitflags!

//cc @nrc

8 years agoRollup merge of #29029 - steveklabnik:iter_function_docs, r=alexcrichton
Manish Goregaokar [Wed, 14 Oct 2015 04:23:41 +0000 (09:53 +0530)]
Rollup merge of #29029 - steveklabnik:iter_function_docs, r=alexcrichton

Flesh the docs out with examples.

8 years agoRollup merge of #29028 - Seeker14491:patch-1, r=Manishearth
Manish Goregaokar [Wed, 14 Oct 2015 04:23:41 +0000 (09:53 +0530)]
Rollup merge of #29028 - Seeker14491:patch-1, r=Manishearth

Having this code section hidden is misleading because it makes it look like implementing Circle for Foo automatically makes Foo implement Shape.

8 years agoRollup merge of #29024 - mseri:patch-1, r=nrc
Manish Goregaokar [Wed, 14 Oct 2015 04:23:40 +0000 (09:53 +0530)]
Rollup merge of #29024 - mseri:patch-1, r=nrc

r? @nrc

8 years agoRollup merge of #29016 - sanxiyn:data-layout, r=alexcrichton
Manish Goregaokar [Wed, 14 Oct 2015 04:23:40 +0000 (09:53 +0530)]
Rollup merge of #29016 - sanxiyn:data-layout, r=alexcrichton

8 years agoRollup merge of #29013 - chrisccerami:fix_broken_lifetime_elision_link, r=alexcrichton
Manish Goregaokar [Wed, 14 Oct 2015 04:23:40 +0000 (09:53 +0530)]
Rollup merge of #29013 - chrisccerami:fix_broken_lifetime_elision_link, r=alexcrichton

This link was added in #28842 but doesn't work at https://doc.rust-lang.org/nightly/book/lifetimes.html. What works in my markdown preview doesn't work live, and vice versa.

8 years agoRollup merge of #29006 - arielb1:callee-outlives-call, r=pnkfelix
Manish Goregaokar [Wed, 14 Oct 2015 04:23:39 +0000 (09:53 +0530)]
Rollup merge of #29006 - arielb1:callee-outlives-call, r=pnkfelix

This rather crucial requirement was not checked. In most cases, that
didn't cause any trouble because the argument types are required to
outlive the call and are subtypes of a subformula of the callee type.

However, binary ops are taken by ref only indirectly, without it being
marked in the argument types, which led to the argument types not being
constrained anywhere causing spurious errors (as these are basically
unconstrainable, I don't think this change can break code). Of course,
the old way was also incorrent with contravariance, but that is still
unsound for other reasons.

This also improves rustc::front to get RUST_LOG to *somewhat* work.

Fixes #28999. That issue is one of the several regression introduced by #28669.

r? @pnkfelix

8 years agoRollup merge of #29004 - frewsxcv:regression-test-22814, r=alexcrichton
Manish Goregaokar [Wed, 14 Oct 2015 04:23:39 +0000 (09:53 +0530)]
Rollup merge of #29004 - frewsxcv:regression-test-22814, r=alexcrichton

Closes #22814

8 years agoRollup merge of #28991 - goyox86:goyox86/rustfmting-liblog-II, r=alexcrichton
Manish Goregaokar [Wed, 14 Oct 2015 04:23:39 +0000 (09:53 +0530)]
Rollup merge of #28991 - goyox86:goyox86/rustfmting-liblog-II, r=alexcrichton

Hi Rustaceans!

This is the second version of running rustfmt on liblog https://github.com/rust-lang/rust/pull/28898. There are only rustfmt suggested changes. Because I think that some patterns here (that I fixed up in the prev PR need to be discussed in detail.

//cc @nrc

8 years agoAuto merge of #28816 - petrochenkov:unistruct, r=nrc
bors [Wed, 14 Oct 2015 04:21:58 +0000 (04:21 +0000)]
Auto merge of #28816 - petrochenkov:unistruct, r=nrc

This patch uses the same data structures for structs and enum variants in AST and HIR. These changes in data structures lead to noticeable simplification in most of code dealing with them.
I didn't touch the top level, i.e. `ItemStruct` is still `ItemStruct` and not `ItemEnum` with one variant, like in the type checker.
As part of this patch, structures and variants get the `kind` field making distinction between "normal" structs, tuple structs and unit structs explicit instead of relying on the number of fields and presence of constructor `NodeId`. In particular, we can now distinguish empty tuple structs from unit structs, which was impossible before! Comprehensive tests for empty structs are added and some improvements to empty struct feature gates are made. Some tests don't pass due to issue https://github.com/rust-lang/rust/issues/28692 , they are still there for completeness, but are commented out.
This patch fixes issue mentioned in https://github.com/rust-lang/rust/issues/16819#issuecomment-139509861, now emptiness of tuple structs is checked after expansion.
It also touches https://github.com/rust-lang/rust/issues/28750 by providing span for visit_struct_def
cc https://github.com/rust-lang/rust/pull/28336

r? @nrc

8 years agoAuto merge of #29026 - steveklabnik:rollup, r=steveklabnik
bors [Wed, 14 Oct 2015 00:06:32 +0000 (00:06 +0000)]
Auto merge of #29026 - steveklabnik:rollup, r=steveklabnik

- Successful merges: #28988, #28989, #28990, #28997, #29007, #29015
- Failed merges: #28906

8 years agofix link on std::result::Result
Vladimir Rutsky [Tue, 13 Oct 2015 23:17:31 +0000 (02:17 +0300)]
fix link on std::result::Result

The link is broken here: <https://doc.rust-lang.org/std/io/#types>.

Looks like crate documentation generator uses only first paragraph of the module documentation and
so doesn't resolve the link defined below.

8 years agoRevert "fixups"
Marcello Seri [Tue, 13 Oct 2015 22:21:05 +0000 (23:21 +0100)]
Revert "fixups"

This reverts commit 5b8335ede4214f802eab765ca99b5afa9057973c.

8 years agoRustfmt-ing librustc_bitflags.
Jose Narvaez [Tue, 13 Oct 2015 22:14:32 +0000 (23:14 +0100)]
Rustfmt-ing librustc_bitflags.

8 years agoDocument the free functions of std::iter
Steve Klabnik [Tue, 13 Oct 2015 18:46:17 +0000 (14:46 -0400)]
Document the free functions of std::iter

Flesh the docs out with examples.

8 years agoUnhide some code from the Traits section
Seeker14491 [Tue, 13 Oct 2015 18:45:10 +0000 (13:45 -0500)]
Unhide some code from the Traits section

Having this code section hidden is misleading because it makes it look like implementing Circle for Foo automatically makes Foo implement Shape.

8 years agoRollup merge of #29015 - dripton:master, r=alexcrichton
Steve Klabnik [Tue, 13 Oct 2015 17:09:53 +0000 (13:09 -0400)]
Rollup merge of #29015 - dripton:master, r=alexcrichton

Just a single-character typo fix.

8 years agoRollup merge of #29007 - dnwade:patch-2, r=alexcrichton
Steve Klabnik [Tue, 13 Oct 2015 17:09:53 +0000 (13:09 -0400)]
Rollup merge of #29007 - dnwade:patch-2, r=alexcrichton

r? @steveklabnik

8 years agoRollup merge of #28997 - bezelga:master, r=steveklabnik
Steve Klabnik [Tue, 13 Oct 2015 17:09:53 +0000 (13:09 -0400)]
Rollup merge of #28997 - bezelga:master, r=steveklabnik

Fixing some words in the beginning of the Ownership system chapters.

8 years agoRollup merge of #28990 - ahmedcharles:libarena, r=nrc
Steve Klabnik [Tue, 13 Oct 2015 17:09:53 +0000 (13:09 -0400)]
Rollup merge of #28990 - ahmedcharles:libarena, r=nrc

8 years agoRollup merge of #28989 - ahmedcharles:liballoc_system, r=nrc
Steve Klabnik [Tue, 13 Oct 2015 17:09:52 +0000 (13:09 -0400)]
Rollup merge of #28989 - ahmedcharles:liballoc_system, r=nrc

8 years agoRollup merge of #28988 - ahmedcharles:liballoc_jemalloc, r=nrc
Steve Klabnik [Tue, 13 Oct 2015 17:09:52 +0000 (13:09 -0400)]
Rollup merge of #28988 - ahmedcharles:liballoc_jemalloc, r=nrc

8 years agoAdd E0511 error explanation
Guillaume Gomez [Fri, 9 Oct 2015 13:59:10 +0000 (15:59 +0200)]
Add E0511 error explanation

8 years agofixups
Marcello Seri [Tue, 13 Oct 2015 14:12:34 +0000 (15:12 +0100)]
fixups

8 years agorustfmt libfmt_macros
Marcello Seri [Tue, 13 Oct 2015 14:10:51 +0000 (15:10 +0100)]
rustfmt libfmt_macros

8 years agoCorrect spelling in docs
Andrew Paseltiner [Tue, 13 Oct 2015 13:44:11 +0000 (09:44 -0400)]
Correct spelling in docs

8 years agoComment on the purpose(s) of NodeId in VariantData
Vadim Petrochenkov [Tue, 13 Oct 2015 13:18:33 +0000 (16:18 +0300)]
Comment on the purpose(s) of NodeId in VariantData

8 years agoMerge VariantData and VariantData_
Vadim Petrochenkov [Sat, 10 Oct 2015 00:28:40 +0000 (03:28 +0300)]
Merge VariantData and VariantData_

8 years agoFix rebase 2
Vadim Petrochenkov [Fri, 9 Oct 2015 20:32:37 +0000 (23:32 +0300)]
Fix rebase 2

8 years agoMerge struct fields and struct kind
Vadim Petrochenkov [Thu, 8 Oct 2015 20:45:46 +0000 (23:45 +0300)]
Merge struct fields and struct kind

8 years agoDict -> Struct, StructDef -> VariantData, def -> data
Vadim Petrochenkov [Thu, 8 Oct 2015 00:20:57 +0000 (03:20 +0300)]
Dict -> Struct, StructDef -> VariantData, def -> data

8 years agoFix rebase
Vadim Petrochenkov [Sun, 4 Oct 2015 10:11:56 +0000 (13:11 +0300)]
Fix rebase

8 years agoFix failing privacy test
Vadim Petrochenkov [Fri, 2 Oct 2015 21:18:48 +0000 (00:18 +0300)]
Fix failing privacy test

8 years agoTest and gate empty structures and variants better
Vadim Petrochenkov [Fri, 2 Oct 2015 19:41:24 +0000 (22:41 +0300)]
Test and gate empty structures and variants better

8 years agoProvide span for visit_struct_def + remove some dead code
Vadim Petrochenkov [Fri, 2 Oct 2015 17:06:59 +0000 (20:06 +0300)]
Provide span for visit_struct_def + remove some dead code

8 years agoRemove now redundant NodeId from Variant
Vadim Petrochenkov [Fri, 2 Oct 2015 13:14:20 +0000 (16:14 +0300)]
Remove now redundant NodeId from Variant

8 years agoDecouple structure kinds from NodeIds
Vadim Petrochenkov [Fri, 2 Oct 2015 00:53:28 +0000 (03:53 +0300)]
Decouple structure kinds from NodeIds

8 years agoUnify structures and enum variants in HIR
Vadim Petrochenkov [Thu, 1 Oct 2015 21:03:22 +0000 (00:03 +0300)]
Unify structures and enum variants in HIR

8 years agoUnify structures and enum variants in AST
Vadim Petrochenkov [Thu, 1 Oct 2015 15:47:27 +0000 (18:47 +0300)]
Unify structures and enum variants in AST

8 years agoManually alligned comments.
Jose Narvaez [Tue, 13 Oct 2015 09:46:41 +0000 (10:46 +0100)]
Manually alligned comments.

8 years agoRe-running updated rustfmt on liblog.
Jose Narvaez [Tue, 13 Oct 2015 09:44:09 +0000 (10:44 +0100)]
Re-running updated rustfmt on liblog.

8 years agorustfmt suggested changes.
Jose Narvaez [Mon, 12 Oct 2015 10:28:54 +0000 (11:28 +0100)]
rustfmt suggested changes.

8 years agoAvoid using getDataLayout, deprecated in LLVM 3.7
Seo Sanghyeon [Tue, 13 Oct 2015 06:11:59 +0000 (15:11 +0900)]
Avoid using getDataLayout, deprecated in LLVM 3.7

8 years agoTypo fix
David Ripton [Tue, 13 Oct 2015 03:24:27 +0000 (23:24 -0400)]
Typo fix

8 years agoAuto merge of #28993 - frewsxcv:regression-test-17336, r=alexcrichton
bors [Tue, 13 Oct 2015 03:19:11 +0000 (03:19 +0000)]
Auto merge of #28993 - frewsxcv:regression-test-17336, r=alexcrichton

Closes #17336

8 years agoFix Lifetime Elision link in lifetimes.md
Chris C Cerami [Tue, 13 Oct 2015 02:24:51 +0000 (22:24 -0400)]
Fix Lifetime Elision link in lifetimes.md

8 years agoAuto merge of #28987 - ahmedcharles:liballoc, r=brson
bors [Tue, 13 Oct 2015 00:37:09 +0000 (00:37 +0000)]
Auto merge of #28987 - ahmedcharles:liballoc, r=brson

8 years agotypo
Dan W. [Mon, 12 Oct 2015 22:29:20 +0000 (15:29 -0700)]
typo

8 years agowin64/msvc: large or oddly-sized types pass by-ref
Peter Marheine [Mon, 12 Oct 2015 22:23:47 +0000 (16:23 -0600)]
win64/msvc: large or oddly-sized types pass by-ref

8 years agorequire a method callee's type to outlive the call
Ariel Ben-Yehuda [Mon, 12 Oct 2015 20:37:52 +0000 (23:37 +0300)]
require a method callee's type to outlive the call

This rather crucial requirement was not checked. In most cases, that
didn't cause any trouble because the argument types are required to
outlive the call and are subtypes of a subformula of the callee type.

However, binary ops are taken by ref only indirectly, without it being
marked in the argument types, which led to the argument types not being
constrained anywhere causing spurious errors (as these are basically
unconstrainable, I don't think this change can break code). Of course,
the old way was also incorrent with contravariance, but that is still
unsound for other reasons.

This also improves rustc::front to get RUST_LOG to *somewhat* work.

Fixes #28999

8 years agoAuto merge of #28986 - ahmedcharles:error-index-generator, r=brson
bors [Mon, 12 Oct 2015 20:16:24 +0000 (20:16 +0000)]
Auto merge of #28986 - ahmedcharles:error-index-generator, r=brson

8 years agoAdd regression test for #22814
Corey Farwell [Mon, 12 Oct 2015 19:40:47 +0000 (15:40 -0400)]
Add regression test for #22814

Closes #22814

8 years agonormalize the types of foreign functions
Ariel Ben-Yehuda [Mon, 12 Oct 2015 18:50:57 +0000 (21:50 +0300)]
normalize the types of foreign functions

This is needed as item types are allowed to be unnormalized.

Fixes an ICE that occurs when foreign function signatures contained
an associated type.

Fixes #28983

8 years agoFix docs about borrowing and lifetimes
Fabiano Beselga [Mon, 12 Oct 2015 16:58:21 +0000 (13:58 -0300)]
Fix docs about borrowing and lifetimes

8 years agoAdd regression test for #17336
Corey Farwell [Mon, 12 Oct 2015 13:44:26 +0000 (09:44 -0400)]
Add regression test for #17336

Closes #17336

8 years agoAuto merge of #28914 - steveklabnik:doc_iterator, r=alexcrichton
bors [Mon, 12 Oct 2015 13:40:46 +0000 (13:40 +0000)]
Auto merge of #28914 - steveklabnik:doc_iterator, r=alexcrichton

This replaces what was there with a comprehensive overview.

Thanks to @hoverbear for suggesting that these docs needed improvement.

8 years agoWrite better module-level docs for std::iter
Steve Klabnik [Thu, 8 Oct 2015 19:34:14 +0000 (15:34 -0400)]
Write better module-level docs for std::iter

This replaces what was there with a comprehensive overview.

8 years agoDon't use a Vec in os::current_exe on FreeBSD.
Peter Marheine [Mon, 12 Oct 2015 10:37:28 +0000 (10:37 +0000)]
Don't use a Vec in os::current_exe on FreeBSD.

8 years agoAuto merge of #28985 - ahmedcharles:driver, r=nrc
bors [Mon, 12 Oct 2015 08:11:40 +0000 (08:11 +0000)]
Auto merge of #28985 - ahmedcharles:driver, r=nrc

8 years agoRun rustfmt on error-index-generator.
Ahmed Charles [Mon, 12 Oct 2015 06:44:32 +0000 (23:44 -0700)]
Run rustfmt on error-index-generator.

8 years agoRun rustfmt on driver.
Ahmed Charles [Mon, 12 Oct 2015 06:41:43 +0000 (23:41 -0700)]
Run rustfmt on driver.

8 years agoRun rustfmt on liballoc_system.
Ahmed Charles [Mon, 12 Oct 2015 06:35:08 +0000 (23:35 -0700)]
Run rustfmt on liballoc_system.

8 years agoRun rustfmt on liballoc_jemalloc.
Ahmed Charles [Mon, 12 Oct 2015 05:18:51 +0000 (22:18 -0700)]
Run rustfmt on liballoc_jemalloc.

8 years agoRun rustfmt on liballoc.
Ahmed Charles [Mon, 12 Oct 2015 05:11:59 +0000 (22:11 -0700)]
Run rustfmt on liballoc.

8 years agoRemove the push_unsafe! and pop_unsafe! macros.
Nick Cameron [Mon, 12 Oct 2015 02:50:12 +0000 (15:50 +1300)]
Remove the push_unsafe! and pop_unsafe! macros.

This is a [breaking change].

8 years agoRun rustfmt on libarena.
Ahmed Charles [Mon, 12 Oct 2015 02:33:51 +0000 (19:33 -0700)]
Run rustfmt on libarena.

8 years agoAuto merge of #28969 - chrisccerami:link_to_ffi_in_concurrency_chapter, r=steveklabnik
bors [Sun, 11 Oct 2015 23:20:28 +0000 (23:20 +0000)]
Auto merge of #28969 - chrisccerami:link_to_ffi_in_concurrency_chapter, r=steveklabnik