- 16 3月, 2018 27 次提交
-
-
由 Michael Woerister 提交于
-
由 bors 提交于
Make `assert` a built-in procedural macro Makes `assert` macro a built-in one without touching its functionality. This is a prerequisite for RFC 2011 (#44838).
-
由 bors 提交于
check stability of macro invocations I haven't implemented tests yet but this should be a pretty solid prototype. I think as-implemented it will also stability-check macro invocations in the same crate, dunno if we want that or not. I don't know if we want this to go through `rustc::middle::stability` or not, considering the information there wouldn't be available at the time of macro expansion (even for external crates, right?). r? @nrc closes #34079 cc @petrochenkov @durka @jseyfried #38356
-
由 bors 提交于
Rollup of 17 pull requests - Successful merges: #48706, #48875, #48892, #48922, #48957, #48959, #48961, #48965, #49007, #49024, #49042, #49050, #48853, #48990, #49037, #49049, #48972 - Failed merges:
-
由 kennytm 提交于
Move librustdoc readme to rustc guide cc https://github.com/rust-lang-nursery/rustc-guide/issues/2 and #48478 Don't merge this before https://github.com/rust-lang-nursery/rustc-guide/pull/86
-
由 kennytm 提交于
Unstabilize FusedIterator for Flatten since Flatten is unstable PR #47463 made `impl<I, U> FusedIterator for Flatten<I>` stable but shouldn't have since `Flatten` is still unstable. This PR makes the impl unstable again.
-
由 kennytm 提交于
Coherence diagnostic tweaks
-
由 kennytm 提交于
Fix ICE on malformed plugin attributes See #48941 for some discussion. This bug had several duplicate reports which were never closed as dupes: Fixes #47612 Fixes #48387 Fixes #48941 Fixes #48982
-
由 kennytm 提交于
Improve `AddrParseError` documentation. I've added potential cause to `AddrParseError` raising.
-
由 kennytm 提交于
setting ABORTING_MALLOC=0 for asmjs backend This changes the behaviour of the allocator for asmjs backend. It will return NULL on OOM instead of aborting and let Rust choose the behaviour. Fixes #48968 and enables try_reserve (fallible allocation) in asmjs.
-
由 kennytm 提交于
Remove unnecessary "`" in error message E0307 (invalid self type).
-
由 kennytm 提交于
rustc_trans: fix small aggregate returns for big-endian mips64 FFI Current model of threating small aggregate returns as smallest encompassing integer works only for little-endian mips64. The patch forces small aggregate return values to be viewed as one or two i64 chunks leaving to the casting implementation to handle endianes differences.
-
由 kennytm 提交于
Some tweaks to "type parameters from outer function" diagnostic Follow up to #47574.
-
由 Esteban Küber 提交于
-
由 Anthony Defranceschi 提交于
Add a potential cause to `AddrParseError` raising.
-
由 kennytm 提交于
rustc: Add `sha` to the x86 feature whitelist This'll help us bind the [`SHA` intrinsics][intr] in stdsimd! [intr]: https://software.intel.com/sites/landingpage/IntrinsicsGuide/#othertechs=SHA
-
由 kennytm 提交于
Rustdoc: example of use of assertions I added this section at the beginning of the file because it seems to be basic information. Let me know if there's someplace more relevant. See #47945.
-
由 kennytm 提交于
rustc: Start a custom cabi module for wasm32 It actually was already using the `cabi_asmjs` module but that was by accident, so route the new `wasm32-unknown-unknown` target to a new `cabi_wasm32` module. The first entries in this module are to use `signext` and `zeroext` for types that are under 32 bytes in size Closes rust-lang-nursery/rust-wasm#88
-
由 kennytm 提交于
Dedupe rand
-
由 kennytm 提交于
Implement import renaming with `_` (RFC 2166) cc https://github.com/rust-lang/rust/issues/48216
-
由 kennytm 提交于
rustbuild: Remove ThinLTO-related configuration This commit removes some ThinLTO/codegen unit cruft primarily only needed during the initial phase where we were adding ThinLTO support to rustc itself. The current bootstrap compiler knows about ThinLTO and has it enabled by default for multi-CGU builds which are also enabled by default. One CGU builds (aka disabling ThinLTO) can be achieved by configuring the number of codegen units to 1 for a particular builds. This also changes the defaults for our dist builders to go back to multiple CGUs. Unfortunately we're seriously bleeding for cycle time on the bots right now so we need to recover any time we can.
-
由 kennytm 提交于
MIPS testsuite fixes This PR adjusts various bits in the testsuite so that more stuff passes on mips*.
-
由 kennytm 提交于
Add crate name to "main function not found" error message. Fixes #44798 and rust-lang/cargo#4948. I was wondering if it might be cleaner to update the ui tests to add a simple `fn main() {}` for the unrelated tests. Let me know if you would prefer that.
-
由 snf 提交于
-
由 Mazdak Farrokhzad 提交于
-
由 bors 提交于
Stabilize inclusive range (`..=`) Stabilize the followings: * `inclusive_range` — The `std::ops::RangeInclusive` and `std::ops::RangeInclusiveTo` types, except its fields (tracked by #49022 separately). * `inclusive_range_syntax` — The `a..=b` and `..=b` expression syntax * `dotdoteq_in_patterns` — Using `a..=b` in a pattern cc #28237 r? @rust-lang/lang
-
- 15 3月, 2018 13 次提交
-
-
由 bors 提交于
Reword E0044 and message for `!Send` types - Reword E0044 help. - Change error message for types that don't implement `Send` CC #45092, #46678, #24909, #33307.
-
由 Michael Woerister 提交于
-
由 Michael Woerister 提交于
-
由 kennytm 提交于
-
由 kennytm 提交于
-
由 kennytm 提交于
They are disallowed because they have different precedence than expressions. I assume parenthesis in pattern will be soon stabilized and thus write that as suggestion directly.
-
由 kennytm 提交于
Stabilize `match 2 { 1..=3 => {} }`.
-
由 kennytm 提交于
Stabilize the syntax `a..=b` and `..=b`.
-
由 kennytm 提交于
Stabilize std::ops::RangeInclusive and std::ops::RangeInclusiveTo.
-
由 bors 提交于
Fallible allocation Implementing RFC#2116 [Fallible Allocation](https://github.com/rust-lang/rust/issues/48043) . Work in progress. Initially adding @Gankro's try_reserve for Vec.
-
由 Esteban Küber 提交于
-
由 Esteban Küber 提交于
-
由 Esteban Küber 提交于
-