- 19 10月, 2017 14 次提交
-
-
由 bors 提交于
Backport ThinLTO LLVM 5 fixes This makes building nightly more convenient on Arch.
-
由 bors 提交于
code suggestions for non-shorthand field pattern, no-mangle lints continuing in the spirit of #44942 ![moar_lint_suggestions](https://user-images.githubusercontent.com/1076988/31485011-3b20cc80-aee7-11e7-993d-81267ab77732.png) r? @estebank
-
由 bors 提交于
Rollup of 10 pull requests - Successful merges: #44138, #45082, #45098, #45181, #45217, #45281, #45325, #45326, #45340, #45354 - Failed merges:
-
由 kennytm 提交于
rustdoc: add a primitive page for "unit" In `src/libstd/primitive_docs.rs`, a `#[doc(primitive = "unit")]` section has sat long neglected. This patch teaches rustdoc to recognize "unit", and steals its trait implementations away from the tuple page.
-
由 kennytm 提交于
Docs: a LocalKey might start in the Valid state Add a comment to the docs for `LocalKey::state` explaining that some keys might skip the `Uninitialized` state and start in the `Valid` state. cc #27716 r? @alexcrichton
-
由 kennytm 提交于
Bump the minimum LLVM to 3.9 Old LLVM bugs are reportedly cropping up harder, but 3.9 seems to be OK. Fixes #45277.
-
由 kennytm 提交于
Generate FirstStatementIndex using newtype_index macro
-
由 kennytm 提交于
Save selected search tab Fixes #45278. r? @rust-lang/docs
-
由 kennytm 提交于
Fix out of date unstable book entries for `alloc_*` features. The `alloc_jemalloc` crate does not provide a type to use with `#[global_allocator]`, and (according to Alex) `extern crate alloc_jemalloc;` alone became a no-op when `#[global_allocator]` was introduced.
-
由 kennytm 提交于
List of all lang items in unstable book. I don't know how to link to the source code correctly, so I just put the information aside the lang item name.
-
由 kennytm 提交于
Documenting the process for when rustfmt/rls break **DO NOT MERGE YET** I'm documenting what to do when rustfmt or rls break because of your changes. I'm currently going through this and will keep adding more as I figure out what all the steps are. This first commit is based on @alexcrichton's [comment on my original PR](https://github.com/rust-lang/rust/pull/44766#issuecomment-332653525). [Rendered](https://github.com/sunjay/rust/blob/breakingrustfmtrls/CONTRIBUTING.md#breaking-tools-built-with-the-compiler) Reviews are welcome, but as I mentioned, I will be revising this as I go.
-
由 kennytm 提交于
Mention Clone and refs in --explain E0382 I followed the discussion in #42446 and came up with these additions. - Mention references before going into traits. They're probably more likely solutions. - Mention `Clone` before `Copy`. Cloning has wider applicability and `#derive[Copy, Clone]` makes more sense after learning about `Clone`. The language is not great, any suggestions there would be appreciated
✨ -
由 kennytm 提交于
Deprecate several flags in rustdoc Part of #44136 cc @rust-lang/dev-tools @rust-lang/docs This is a very basic PR to start deprecating some flags; `rustdoc` doesn't really have fancy output options like `rustc` does, so I went with `eprintln!`. Happy to change it if people feel that's not appropriate. Also, I have no idea if we can or should write tests here, so I didn't try. If someone feels strongly about it, then let's do it, but given that the only outcome here is a side effect...
-
- 18 10月, 2017 9 次提交
-
-
由 Josh Stone 提交于
-
由 bors 提交于
Avoid unnecessary allocas for indirect function arguments The extra alloca was only necessary because it made LLVM implicitly handle the necessary deref to get to the actual value. The same happens for indirect arguments that have the byval attribute. But the Rust ABI does not use the byval attribute and so we need to manually add the deref operation to the debuginfo.
-
由 Björn Steinbrink 提交于
The extra alloca was only necessary because it made LLVM implicitly handle the necessary deref to get to the actual value. The same happens for indirect arguments that have the byval attribute. But the Rust ABI does not use the byval attribute and so we need to manually add the deref operation to the debuginfo.
-
由 bors 提交于
remove or encapsulate the remaining non-query data in tcx I wound up removing the existing cache around inhabitedness since it didn't seem to be adding much value. I reworked const rvalue promotion, but not that much (i.e., I did not split the computation into bits, as @EddyB had tossed out as a suggestion). But it's now demand driven, at least. cc @michaelwoerister -- see the `forbid_reads` change in last commit r? @EddyB -- since the trickiest of this PR is the work on const rvalue promotion cc #44137
-
由 Josh Stone 提交于
In `src/libstd/primitive_docs.rs`, a `#[doc(primitive = "unit")]` section has sat long neglected. This patch teaches rustdoc to recognize "unit", and steals its trait implementations away from the tuple page.
-
由 Sunjay Varma 提交于
-
由 Sunjay Varma 提交于
The process for updating rustfmt is quite involved because of the way everything is configured. This section covers the steps for updating rustfmt and rationale behind them.
-
由 Sunjay Varma 提交于
-
由 steveklabnik 提交于
-
- 17 10月, 2017 17 次提交
-
-
由 Niko Matsakis 提交于
-
由 Niko Matsakis 提交于
-
由 Santiago Pastorino 提交于
-
由 bors 提交于
Rollup of 10 pull requests - Successful merges: #45097, #45151, #45307, #45308, #45310, #45315, #45321, #45329, #45338, #45339 - Failed merges:
-
由 steveklabnik 提交于
Fixes #44136
-
由 steveklabnik 提交于
Part of #44136 Upgrades cargo due to https://github.com/rust-lang/cargo/pull/4451
-
由 Havvy 提交于
-
由 kennytm 提交于
Update array documentation for Clone trait changes Just a note, for this to work, `T` doesn't have to `Copy`, `Clone` is sufficient. For instance, the following works. ```rust fn x(a: &[String; 100]) -> [String; 100] { a.clone() } ```
-
由 kennytm 提交于
bootstrap: Avoid fetching jemalloc if it's disabled Fix #45300 More conditions, more madness :) Tested locally.
-
由 kennytm 提交于
Remove duplicated word r? @rust-lang/docs
-
由 kennytm 提交于
ci: Update Travis OSX builders Looks like Travis [has announced][blog] that our current `xcode8.2` image is being deprecated and the recommended Xcode 7 image is `xcode7.3`. This updates us to these ahead of time to make sure we can shake out any bugs, if any. [blog]: https://blog.travis-ci.com/2017-10-16-a-new-default-os-x-image-is-coming
-
由 kennytm 提交于
Rollup merge of #45315 - zackmdavis:expected_statement_after_outer_attr_after_inner_attr, r=petrochenkov don't issue "expected statement after outer attr." after inner attr. While an inner attribute here is in fact erroneous, that error ("inner attribute is not permitted in this context") successfully gets set earlier; this further admonition is nonsensical. Resolves #45296.
-
由 kennytm 提交于
aarch64 is not whitelisted for ARM features This prevents the target feature `neon` from being enabled on aarch64.
-
由 kennytm 提交于
Rustdoc book: Add missing headlines Some options were missing headlines, which looked a bit inconsistent.
-
由 kennytm 提交于
Fix typo in rustdoc book There was a tyop :P
-
由 kennytm 提交于
Document defaults for stdin, stdout, and stderr methods of Command For #29370
-
由 kennytm 提交于
address more FIXME whose associated issues were marked as closed part of #44366
-