- 13 9月, 2018 4 次提交
-
-
由 F001 提交于
-
由 F001 提交于
-
由 bors 提交于
Don't show associated const value anymore Part of #44348. Before: <img width="1440" alt="screen shot 2018-08-16 at 00 48 30" src="https://user-images.githubusercontent.com/3050060/44177414-20ef1480-a0ee-11e8-80d4-7caf082cf0de.png"> After: <img width="1440" alt="screen shot 2018-08-16 at 00 48 23" src="https://user-images.githubusercontent.com/3050060/44177417-251b3200-a0ee-11e8-956a-4229275e3342.png"> cc @nox r? @QuietMisdreavus
-
由 bors 提交于
Really make CGU names unique across crates. This will hopefully fix issue #53794. r? @alexcrichton
-
- 12 9月, 2018 24 次提交
-
-
由 bors 提交于
stabilize outlives requirements https://github.com/rust-lang/rust/issues/44493 r? @nikomatsakis
-
由 Michael Woerister 提交于
-
由 bors 提交于
Rollup of 15 pull requests Successful merges: - #52514 (Fix a few AMDGPU related issues) - #53703 (Document .0 to unpack integer from Wrapping) - #53777 (Implemented map_or_else for Result<T, E>) - #54031 (A few cleanups and minor improvements to rustc_passes) - #54046 (Update documentation for fill_buf in std::io::BufRead) - #54064 (`&CStr`, not `CStr`, is the counterpart of `&str`) - #54072 (Stabilization change for mod.rs) - #54073 (docs: Use dollar sign for all bash prompts) - #54074 (simplify ordering for Kind) - #54085 (Remove documentation about proc_macro being bare-bones) - #54087 (rustdoc: Remove generated blanket impls from trait pages) - #54106 (Reexport CheckLintNameResult) - #54107 (Fix typos in libstd hash map) - #54136 (Update LLVM to fix GlobalISel dbg.declare) - #54142 (Recover proper regression test for issue #16278.) Failed merges: r? @ghost
-
由 kennytm 提交于
Recover proper regression test for issue #16278. Spawned from my note https://github.com/rust-lang/rust/pull/19955#issuecomment-420430761
-
由 kennytm 提交于
Update LLVM to fix GlobalISel dbg.declare Fixes #49807.
-
由 kennytm 提交于
Fix typos in libstd hash map modified growth algo description to read "the first table overflows into the second, and the second into the first." plus smaller typos
-
由 kennytm 提交于
Reexport CheckLintNameResult Make the enum `CheckLintNameResult` public, so that lint tools (aka Clippy) can use it together with [`LintStore::check_lint_name`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc/lint/struct.LintStore.html#method.check_lint_name), to handle the case that a scoped `tool_lint` doesn't exist in the tool. This is currently not handled by the compiler: https://github.com/rust-lang/rust/blob/595345419d12c3ea860151df52f78744a31bafff/src/librustc/lint/levels.rs#L309-L314 Needed for rust-lang-nursery/rust-clippy#3161 r? @Manishearth
-
由 kennytm 提交于
rustdoc: Remove generated blanket impls from trait pages #53801 only deduped the generated blanket impls but they shouldn't be displayed at all because the original blanket impl is already in the "Implementors" section. This also removes the impls from the sidebar. Fixes #53689 r? @QuietMisdreavus
-
由 kennytm 提交于
Remove documentation about proc_macro being bare-bones A large chunk of useful API surface area is stabilizing in Rust 1.29. We no longer have a commitment to expand the API over time as much as implied by these comments. r? @alexcrichton
-
由 kennytm 提交于
simplify ordering for Kind Missed from https://github.com/rust-lang/rust/pull/50930 r? @EddyB
-
由 kennytm 提交于
docs: Use dollar sign for all bash prompts Making it consistent across the board, as most of them already use `$`. Also split one continues bash run into two, to make it easier see different runs: one with warning and another with error.
-
由 kennytm 提交于
Stabilization change for mod.rs This change is in response to https://github.com/rust-lang/rust/issues/53125. The patch makes the feature accepted and removes the tests that tested the non-accepted status of the feature.
-
由 kennytm 提交于
`&CStr`, not `CStr`, is the counterpart of `&str`
-
由 kennytm 提交于
Update documentation for fill_buf in std::io::BufRead Brings the documentation in line with the BufReader implementation. Fixes #48022. This is my first PR, and I think the `E-easy` label is very cool, as so is the practice of describing the fix but leaving it for someone else; it really makes it a lot less intimidating to get started with something!
-
由 kennytm 提交于
A few cleanups and minor improvements to rustc_passes - prefer `if let` to `match` when only one branch matters - prefer equality checks to pattern matching - prefer `is_empty` to `len() == 0` - collapse a couple of `if` expressions - rename `label` to `destination` when destructuring `hir::ExprKind::Continue` - `derive Copy` for `Promotability` - `impl BitAndAssign` for `Promotability` - a few formatting fixes - a few other minor cleanups
-
由 kennytm 提交于
Implemented map_or_else for Result<T, E> Fulfills #53268 The example is ripped from `Option::map_or_else`, with the types corrected.
-
由 kennytm 提交于
Document .0 to unpack integer from Wrapping
-
由 kennytm 提交于
Fix a few AMDGPU related issues * AMDGPU ignores `noinline` and sadly doesn't clear the attribute when it slaps `alwaysinline` on everything, * an AMDGPU related load bit range metadata assertion, * I didn't enable the `amdgpu` component in the `librustc_llvm` build script, * Add AMDGPU call abi info.
-
由 bors 提交于
First step towards `u128` instead of `Const` in `PatternKind::Range` This PR accomplishes two things: * It adds `ty::Ty` to `PatternKind::Range`. The extra type information will make it easier to remove it from the `hi` and `lo` members. * It exchanges `Const` for `u128` in `Constructor::ConstantRange`.
-
由 bors 提交于
resolve: Future proof resolutions for potentially built-in attributes This is not full "pass all attributes through name resolution", but a more conservative solution. If built-in attribute is ambiguous with any other macro in scope, then an error is reported. What complications arise with the full solution - https://github.com/rust-lang/rust/pull/53913#issuecomment-418204136. cc https://github.com/rust-lang/rust/pull/50911#issuecomment-411605393 cc https://github.com/rust-lang/rust/issues/52269 Closes https://github.com/rust-lang/rust/issues/53531
-
由 Markus Klein 提交于
-
由 Felix S. Klock II 提交于
-
由 bors 提交于
support ascription for patterns in NLL This implements the strategy outlined in [this comment](https://github.com/rust-lang/rust/issues/47184#issuecomment-416669986): - We first extend the NLL subtyping code so it can handle inference variables and subtyping. - Then we extend HAIR patterns with type ascription. - Then we treat the type `T` in `let pat: T = ...` as an ascription. Before landing, a few things: - [x] Fix the WF rule bug (filed a FIXME https://github.com/rust-lang/rust/issues/54105) - [x] Fix an ICE I encountered locally around bound regions, or else file a follow-up - [x] More tests probably =) r? @pnkfelix
-
由 Josh Stone 提交于
Fixes #49807.
-
- 11 9月, 2018 12 次提交
-
-
由 bors 提交于
warn about keywords in macro invocations Fixes #53686 r? @alexcrichton
-
由 toidiu 提交于
Co-authored-by: nikomatsakis
-
由 Niko Matsakis 提交于
-
由 bors 提交于
stabilize #[used] closes #40289 RFC for stabilization: rust-lang/rfcs#2386 r? @Centril Where should this be documented? Currently the documentation is in the unstable book
-
由 bors 提交于
Update Cargo submodule Bring in a few last-minute updates before the 1.30.0 release
-
由 bors 提交于
Don't compute padding of braces unless they are unmatched Follow up to #53949. Attempt to fix # #54083. r? @nikomatsakis
-
由 Alex Crichton 提交于
Bring in a few last-minute updates before the 1.30.0 release
-
由 Vadim Petrochenkov 提交于
-
由 Vadim Petrochenkov 提交于
-
由 Vadim Petrochenkov 提交于
-
由 Vadim Petrochenkov 提交于
Invocation/expansion ID (aka `Mark`) is not really necessary for resolving a macro path. What is really necessary is its parent module, parent expansion and parent legacy scope. This is required for validation resolutions of built-in attributes, which don't get their own `Mark`s
-
由 Niko Matsakis 提交于
We are now carrying the user-given type through MIR, so it makes sense that this would change the hash.
-