- 25 9月, 2016 5 次提交
-
-
由 bors 提交于
Skip binary tidy check when on Windows Linux Subsystem While it's possible that other linux systems will include "Microsoft" in their /proc/version, this is deemed unlikely, and since this is a tidy check, will likely be caught by buildbot/travis either way. Fixes #36706.
-
由 Mark-Simulacrum 提交于
While it's possible that other linux systems will include "Microsoft" in their /proc/version, this is deemed unlikely, and since this is a tidy check, will likely be caught by buildbot/travis either way.
-
由 bors 提交于
[breaking-change] Remove TypedArena::with_capacity This is a follow-up to #36592. The function is unused by rustc. Also, it doesn't really follow the usual meaning of a `with_capacity` function because the first chunk allocation is now delayed until the first `alloc` call. This change reduces the size of `TypedArena` by one `usize`. @EddyB: we discussed this on IRC. Would you like to review it?
-
由 Patrick Walton 提交于
This optimization kicks in a lot when bootstrapping the compiler.
-
- 24 9月, 2016 14 次提交
-
-
由 bors 提交于
Revert "implement `From<Vec<char>>` and `From<&'a [char]>` for `String`" This reverts commit ac73335f. This is a revert of https://github.com/rust-lang/rust/pull/35054, which resulted in at least 7 known regressions, reported [here](https://internals.rust-lang.org/t/regression-report-stable-2016-08-16-vs-beta-2016-09-21/4119) and [here](https://github.com/rust-lang/rust/issues/36352), which will hit stable next week. I think this breakage was somewhat unanticipated, and we did not realize so many crates were broken until this week, so reverting is the conservative thing to do until we figure out how not to cause so much breakage. I've run crater on the revert and did not find any new breakage from the revert. Fixes https://github.com/rust-lang/rust/issues/36352 cc @pwoolcoc @rust-lang/libs
-
由 bors 提交于
ICH: Add ability to test the ICH of exported metadata items. Also adds an example test case for ICH testing. r? @nikomatsakis
-
由 bors 提交于
Rollup of 7 pull requests - Successful merges: #36018, #36498, #36500, #36559, #36566, #36578, #36664 - Failed merges:
-
由 Guillaume Gomez 提交于
Minor `VecDeque` doc examples cleanup. None
-
由 Guillaume Gomez 提交于
Replace 'e.g.' by 'i.e.' Fixes #36577. r? @steveklabnik
-
由 Guillaume Gomez 提交于
Add regression test for #9837. Fixes https://github.com/rust-lang/rust/issues/9837
-
由 Guillaume Gomez 提交于
Fix a variety of minor issues CSS: - use integer values for font-size in CSS - use correct ordering of @import - "invisible" isn't a tag - presume its a class - "border-color" defines the complete border python: - use "not" instead of == "[]" for python - prefer triple quoted docstrings - prefer static functions where possible - prefer modern style classes where possible - remove semicolons; global: - remove duplicated words words
-
由 Guillaume Gomez 提交于
This installs documentation not man pages This fixes the description for docdir in configure, it was my mistake for leaving it as "man pages", oops.
-
由 Guillaume Gomez 提交于
Fix wording for out-of-crate macro error This fixes the wording of the note for out-of-crate macro errors to fix https://github.com/rust-lang/rust/issues/36469 The previous wording came from older logic in the PR that was replaced without updating the note.
-
由 Guillaume Gomez 提交于
strengthen doc warning about CString::from_raw Saw unsound code using this function on IRC.
-
由 Michael Woerister 提交于
-
由 bors 提交于
Load extern crates in `resolve` This PR loads `extern crate`s in `resolve`'s `BuildReducedGraphVistor`. r? @nikomatsakis
-
由 Brian Anderson 提交于
This reverts commit ac73335f.
-
由 bors 提交于
Don't let a type parameter named "Self" unchanged past HIR lowering. Fixes #36638 by rewriting `Self` type parameters (which are a parse error) to a `gensym("Self")`. Background: #35605 introduced code across rustc that determines `Self` by its keyword name. Reverting the sanity checks around that would inadvertently cause confusion between the true `Self` of a `trait` and other type parameters named `Self` (which have caused parse errors already). I do not like to use `gensym`, and we may do something different here in the future, but this should work.
-
- 23 9月, 2016 21 次提交
-
-
由 bors 提交于
Fix ICE test in compiletest fail-tests While working on Clippy which uses *compiletest*, I noticed that as long as all expected error are found, *compile-fail* tests will be marked *ok* even if there is an ICE. One function seems to have not been updated with JSON errors because ICEs are now reported like this: ```json {"message":"../src/librustc/ty/context.rs:161: Attempted to intern `_` which contains inference types/regions in the global type context","code":null,"level":"error: internal compiler error","spans":[],"children":[],"rendered":null} ``` I don't think I can add a test for that. I guess: r? @nikomatsakis
-
由 Corey Farwell 提交于
-
由 Jeffrey Seyfried 提交于
-
由 bors 提交于
Implement Debug for DirEntry. None
-
由 bors 提交于
resolve: groundwork for building the module graph during expansion r? @nrc
-
由 bors 提交于
Adds a `ProcMacro` form of syntax extension This commit adds syntax extension forms matching the types for procedural macros 2.0 (RFC #1566), these still require the usual syntax extension boiler plate, but this is a first step towards proper implementation and should be useful for macros 1.1 stuff too. Supports both attribute-like and function-like macros. Note that RFC #1566 has not been accepted yet, but I think there is consensus that we want to head in vaguely that direction and so this PR will be useful in any case. It is also fairly easy to undo and does not break any existing programs. This is related to #35957 in that I hope it can be used in the implementation of macros 1.1, however, there is no direct overlap and is more of a complement than a competing proposal. There is still a fair bit of work to do before the two can be combined. r? @jseyfried cc @alexcrichton, @cgswords, @EddyB, @aturon
-
由 Jeffrey Seyfried 提交于
-
由 Jeffrey Seyfried 提交于
-
由 Nicholas Nethercote 提交于
The function is unused by rustc. Also, it doesn't really follow the usual meaning of a `with_capacity` function because the first chunk allocation is now delayed until the first `alloc` call. This change reduces the size of `TypedArena` by one `usize`.
-
由 bors 提交于
Rollup of 7 pull requests - Successful merges: #36330, #36423, #36539, #36571, #36589, #36600, #36632 - Failed merges:
-
由 Nick Cameron 提交于
-
由 Jonathan Turner 提交于
Fix outdated Doc Comment on BufReader::seek A long time ago non-panicking `unwrap` methods were renamed to `into_inner` in this Pull Request: https://github.com/rust-lang/rust/pull/19149 Looks like this doc comment was not updated however.
-
由 Jonathan Turner 提交于
Minor correction in `sort_by_key` doc comment The parameter to `sort_by_key` is named `f`, not `key`.
-
由 Jonathan Turner 提交于
fixed the safety header/wording in option.rs Fixes #36581 screenshot of the rendered documentation: http://imgur.com/14kLVrA r? @steveklabnik
-
由 Jonathan Turner 提交于
Tweak std::rc docs Fixes #29372. r? @GuillaumeGomez
-
由 Jonathan Turner 提交于
fix top level attr spans issue #36530 ?r @jonathandturner
-
由 Jonathan Turner 提交于
Add missing Eq implementations Part of #36301.
-
由 Jonathan Turner 提交于
Updated E0560 to new error format Added a small bit of code to add a label for E0560. Also renamed src/test/compile-fail/E560.rs file to E0560.rs (not sure why it was named E560). Updated all test cases which check this error. Closes #36199
-
由 Corey Farwell 提交于
-
由 Eduard Burtescu 提交于
-
由 bors 提交于
Fix documentation with 'soft-float' codegen option This option doesn't cause software FP routines to be called, it only changes the float ABI. Additionally, this option is ignored by all targets, except the ARM eabihf ones.
-