about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2015-02-10Auto merge of #22153 - alexcrichton:rollup, r=alexcrichtonbors-433/+1029
2015-02-10Test fixes and rebase conflictsAlex Crichton-13/+8
2015-02-10rollup merge of #22144: pnkfelix/fru-privacy-rfc-736Alex Crichton-14/+60
2015-02-10rollup merge of #22147: dotdash/llvm_versionAlex Crichton-1/+2
When trying to build against a newer, local LLVM version it might be preferable to have a flag to disable the LLVM version check instead of having to modify the configure script. Fixes #21998 r? @alexcrichton
2015-02-10rollup merge of #22143: pnkfelix/fix-issue-20801Alex Crichton-0/+48
Add error message (i.e. do not ICE) when moving out of unsafe pointers. Fix #20801.
2015-02-10rollup merge of #22142: Kimundi/unsized_uniqueAlex Crichton-3/+12
This is to allow for use cases like sending a raw pointer slice across thread boundaries.
2015-02-10rollup merge of #22135: apasel422/issue-22131Alex Crichton-8/+25
fixes #22131
2015-02-10rollup merge of #22130: steveklabnik/gh20172Alex Crichton-3/+1
Fixes #20172
2015-02-10rollup merge of #22129: steveklabnik/gh22032Alex Crichton-3/+2
Fixes #22032
2015-02-10rollup merge of #22128: steveklabnik/gh22085Alex Crichton-0/+5
Fixes #22085 /cc @tomjakubowski
2015-02-10rollup merge of #22125: alexcrichton/into-iter-stabilityAlex Crichton-38/+38
* Remove type parameters from `IteratorExt::cloned` * Rename `IntoIterator::Iter` to `IntoIterator::IntoIter` * Mark `IntoIterator::into_iter` as stable (but not the trait, only the method).
2015-02-10rollup merge of #22120: lukesteensen/closures_guideAlex Crichton-10/+10
Based off https://github.com/rust-lang/rust/pull/21843, it looks like the syntax in the Closures guide is outdated.
2015-02-10rollup merge of #22116: kmcallister/cfg_attrAlex Crichton-54/+133
Fixes #22070. Fixes #19372. r? @sfackler
2015-02-10rollup merge of #22115: nagisa/dedupe-cratetypesAlex Crichton-1/+4
Crate types from multiple sources appear to be deduplicated properly, but not deduplicated if they come from the command line arguments. At worst, this used to cause compiler failures when `--crate-type=lib,rlib` (the same as `--crate-type=rlib,rlib`, at least at the time of this commit) is provided and generate the output multiple times otherwise. r? @alexcrichton
2015-02-10rollup merge of #22112: mbudde/std-cell-doc-fixAlex Crichton-5/+5
Replace links to `../index.html` with `index.html` as they are linking to the `std` module and not `std::cell` as intended. See for example [RefCell documentation](http://doc.rust-lang.org/std/cell/struct.RefCell.html).
2015-02-10rollup merge of #22109: petrochenkov/intuint1Alex Crichton-103/+101
2015-02-10rollup merge of #22106: steveklabnik/doc_trait_objectsAlex Crichton-45/+289
I started to write up some docs on this, and then realized I was just repeating http://huonw.github.io/blog/2015/01/peeking-inside-trait-objects/ but worse. @huonw previously said that we can use this content if we wanted, so I made some tweaks and integrated it into the book. Fixes #21707
2015-02-10rollup merge of #22103: pczarn/fix-ice-22091Alex Crichton-2/+9
Fixes #22091 I'm not sure how to write a test for this. An ICE happens with spans that start near (after?) a null character or some other zero-width unicode character.
2015-02-10rollup merge of #22097: cllns/fix-fallback-fontsAlex Crichton-2/+2
The fallback font for a serif font should also be serif, not sans serif.
2015-02-10rollup merge of #22094: alkor/cleanup-show-stringAlex Crichton-13/+12
Rename several remaining `Show`s to Debug, `String`s to Display (mostly in comments and docs). Update reference.md: - derive() no longer supports Zero trait - derive() now supports Copy trait
2015-02-10rollup merge of #22088: semarie/openbsd-rmakeAlex Crichton-8/+16
- c-link-to-rust-staticlib: use `EXTRACFLAGS` defined by tools.mk for choose the good libraries to link to. tools.mk define a variable `EXTRACFLAGS` that contains the needed library per target. So it is better to use it, instead of duplicate the code here. I keep the `ifndef IS_WINDOWS` has tools.mk define something for WINDOWS... so I don't change things that I couldn't test. - no-stack-check: disabled for openbsd (no segmented stacks here) - symbols-are-reasonable: use portable grep pattern - target-specs: use POSIX form for options when invoking grep - use-extern-for-plugins: disable as OpenBSD only support x86_64 for now
2015-02-10rollup merge of #22072: geofft/doc-byte-string-literalAlex Crichton-5/+7
This was correct in the EBNF, but not in the prose (which seems to have been copied-and-pasted from regular string literals).
2015-02-10rollup merge of #22067: Gankro/collections-testsAlex Crichton-1/+1
So many warnings
2015-02-10rollup merge of #22065: bluss/range-size-hintAlex Crichton-10/+8
When self.start > self.end, these iterators simply return None, so we adjust the size_hint to just return zero in this case. Certain optimizations can be implemented in and outside libstd if we know we can trust the size_hint for all inputs to for example Range<usize>. This corrects the ExactSizeIterator implementations, which IMO were unsound and incorrect previously, since they allowed a range like (2..1) to return a size_hint of -1us in when debug assertions are turned off.
2015-02-10rollup merge of #22052: octplane/patch-1Alex Crichton-1/+1
- add namespace - add function parens
2015-02-10rollup merge of #22051: nagisa/main-emissionAlex Crichton-2/+10
Fixes #21813
2015-02-10rollup merge of #22049: caspark/fix-link-to-rustdocAlex Crichton-2/+1
No point sending people to a page which just says "this is now part of the Rust book" (that page being http://doc.rust-lang.org/rustdoc.html).
2015-02-10rollup merge of #22012: pnkfelix/propagate-container-across-object-castAlex Crichton-62/+106
Given `<expr> as Box<Trait>`, infer that `Box<_>` is expected type for `<expr>`. This is useful for addressing fallout from newly proposed box protocol; see #22006 for examples of such fallout, much of which will be unnecessary with this fix.
2015-02-10rollup merge of #22007: thiagooak/masterAlex Crichton-0/+14
From #21829 clarify equivalency of tuples
2015-02-10rollup merge of #21943: hugwijst/extctxt_ufcsAlex Crichton-0/+56
Add `QPath` construction support to `ExtCtxt`. Allows compiler plugins to generate calls with UFCS.
2015-02-10rollup merge of #21920: vojtechkral/main-thread-nameAlex Crichton-4/+5
Fixes #21911
2015-02-10rollup merge of #21918: ranma42/replace-beAlex Crichton-6/+6
Conflicts: src/test/compile-fail/reserved-be.rs src/test/compile-fail/reserved-become.rs src/test/parse-fail/reserved-be.rs
2015-02-10rollup merge of #21862: iKevinY/libstd-ascii-testsAlex Crichton-19/+7
2015-02-10rollup merge of #21353: sanxiyn/upvarAlex Crichton-0/+30
Fix #20558.
2015-02-10add `//~ ERROR` line to test for privacy respecting FRU (RFC 736).Felix S. Klock II-1/+1
2015-02-10Add a flag to skip the LLVM version check in configureBjörn Steinbrink-1/+2
When trying to build against a newer, local LLVM version it might be preferable to have a flag to disable the LLVM version check instead of having to modify the configure script. Fixes #21998
2015-02-10parse cfgspecs passed to rustdocAndrew Paseltiner-8/+25
fixes #22131
2015-02-10Add comment noting that this naive approach is not too naive.Felix S. Klock II-0/+3
2015-02-10Make FRU respect privacy of all struct fields, mentioned or unmentioned.Felix S. Klock II-14/+57
This is RFC 736. Fix #21407.
2015-02-10Move native thread name setting from thread_info to Thread, fixes #21911Vojtech Kral-0/+1
2015-02-10Add error message (i.e. do not ICE) when moving out of unsafe pointers.Felix S. Klock II-0/+48
Fix #20801.
2015-02-10Made the `ptr::Unique` type accept unsized types, to allow for use casesMarvin Löbel-3/+12
like sending a raw pointer slice across thread boundaries.
2015-02-10Auto merge of #22028 - nikomatsakis:issue-22019-caching, r=aturonbors-114/+60
Simplify cache selection by just using the local cache whenever there are any where-clauses at all. This seems to be the simplest possible rule and will (hopefully!) put an end to these annoying "cache leak" bugs. Fixes #22019. r? @aturon
2015-02-10Auto merge of #22026 - kmcallister:plugin, r=sfacklerbors-165/+156
```rust #[plugin] #[no_link] extern crate bleh; ``` becomes a crate attribute ```rust #![plugin(bleh)] ``` The feature gate is still required. It's almost never correct to link a plugin into the resulting library / executable, because it will bring all of libsyntax and librustc with it. However if you really want this behavior, you can get it with a separate `extern crate` item in addition to the `plugin` attribute. Fixes #21043. Fixes #20769. [breaking-change]
2015-02-10Auto merge of #21961 - nick29581:hrl-syntax, r=nmatsakisbors-31/+231
Closes # 20022 r? @nikomatsakis
2015-02-10Auto merge of #21937 - alexcrichton:issue-21929, r=aturonbors-2/+2
These were forgotten reexports from #21718 Closes #21929
2015-02-10Auto merge of #21936 - alexcrichton:fsv2, r=aturonbors-13/+2564
This commit is an implementation of [RFC 739][rfc] which adds a new `std::fs` module to the standard library. This module provides much of the same functionality as `std::old_io::fs` but it has many tweaked APIs as well as uses the new `std::path` module. [rfc]: https://github.com/rust-lang/rfcs/pull/739
2015-02-10TestsNick Cameron-4/+131
2015-02-09Set up docs for missing core typesSteve Klabnik-0/+5
Fixes #22085
2015-02-09Remove bottom from the referenceSteve Klabnik-3/+1
Fixes #20172