- 22 8月, 2020 33 次提交
-
-
由 bors 提交于
Missing doc examples lint improvements Fixes #75719. To be merged after #75718 (only the two last commits are from this PR). Since you already reviewed #75718, I'll set you as reviewer here as well. :) r? @jyn514
-
由 bors 提交于
Remove unused `Maybe` wrapper around raw standard streams * Remove result type from raw standard streams constructors * Make raw standard stream constructors const * Remove wrapper type handling absent raw standard streams cargo checked with: ```shell env CC=true ./x.py check library/std/ \ --target i686-unknown-linux-gnu \ --target wasm32-unknown-emscripten \ --target wasm32-wasi \ --target x86_64-fortanix-unknown-sgx \ --target x86_64-pc-windows-gnu \ --target x86_64-unknown-cloudabi \ --target x86_64-unknown-hermit \ --target x86_64-unknown-linux-gnu \ --target x86_64-uwp-windows-gnu \ --target x86_64-wrs-vxworks ``` Note: Last target doesn't compile currently.
-
由 bors 提交于
bootstrap: fix a couple of clippy lint warnings clippy::print_literal clippy::clone_on_copy clippy::single_char_pattern clippy::into_iter_on_ref clippy::match_like_matches_macro
-
由 bors 提交于
Rollup of 12 pull requests Successful merges: - #75705 (Move to intra-doc links for /library/core/src/intrinsics.rs) - #75711 (Split `astconv.rs` into its own submodule) - #75718 (Don't count variants/fields/consts/associated types in doc-coverage doc examples) - #75725 (Use intra-doc-links in `alloc`) - #75745 (Remove duplication in `fold_item`) - #75753 (Another motivation for CFG: return-oriented programming) - #75769 (Minor, remove double nesting of a test module) - #75771 (Extend normalization in const-eval-query-stack test) - #75781 (More inline asm register name fixups for LLVM) - #75782 (Convert core/src/str/pattern.rs to Intra-doc links) - #75787 (Use intra-doc-links in `core::ops::*`) - #75788 (MIR call terminator represents diverging calls too) Failed merges: - #75773 (Introduce expect snapshot testing library into rustc) r? @ghost
-
由 Dylan DPC 提交于
MIR call terminator represents diverging calls too @bors rollup=always
-
由 Dylan DPC 提交于
Use intra-doc-links in `core::ops::*` Helps with #75080. r? @jyn514
-
由 Dylan DPC 提交于
Convert core/src/str/pattern.rs to Intra-doc links Part of #75080.
-
由 Dylan DPC 提交于
More inline asm register name fixups for LLVM Fixes #75761 r? @nagisa
-
由 Dylan DPC 提交于
Extend normalization in const-eval-query-stack test Builds with debuginfo have additional information in backtrace.
-
由 Dylan DPC 提交于
Minor, remove double nesting of a test module
-
由 Dylan DPC 提交于
Another motivation for CFG: return-oriented programming
-
由 Dylan DPC 提交于
Remove duplication in `fold_item` r? @Manishearth
-
由 Dylan DPC 提交于
Use intra-doc-links in `alloc` I didn't have time to test this, so I will let the CI do it for me. r? @jyn514 cc #75080
-
由 Dylan DPC 提交于
Don't count variants/fields/consts/associated types in doc-coverage doc examples Fixes #75714. I think I'll need to update the equivalent lint too. Creating an issue for that! r? @jyn514
-
由 Dylan DPC 提交于
Split `astconv.rs` into its own submodule Fixes #67418 This changed induced a few changes across the Type checker, but only there. Mostly, it was just renaming `Self::` into something else to call specific methods from a subtrait instead of having a 2500+ lines one. I split up the `astconv.rs` file into its own module. This way, directives such as ```rust use crate::astconv::AstConv; ``` are still valid, and doing ```rust use crate::astconv::{AstConv, AstConvGeneric}; ``` is possible (instead of having two modules, one named `astconv_generic.rs` for example and `astconv.rs`) I'm not entirely sure that the name `AstConvGeneric` is a good one. However, only methods related to lifetimes or generics have been moved over to this module. Sorry about the large diff. I'd be very happy to make any correction you deem necessary. r? @oli-obk
-
由 Dylan DPC 提交于
Move to intra-doc links for /library/core/src/intrinsics.rs Helps with #75080. @rustbot modify labels: T-doc, A-intra-doc-links, T-rustdoc Known issues: * The following f32 and f64 primitive methods cannot be resolved: f32/f64::powi f32/f64::sqrt f32/f64::sin f32/f64::cos f32/f64::powf f32/f64::exp f32/f64::exp2 f32/f64::ln f32/f64::log2 f32/f64::log10 f32/f64::mul_add f32/f64::abs f32/f64::copysign f32/f64::floor f32/f64::ceil f32/f64::trunc f32/f64::round * Links from core to std: [`std::pointer::*`] [`std::process::abort`] [`from_raw_parts`] [`Vec::append`] * Links with anchors? I provided a separate commit that replaced links with anchors by intra-doc links. Here the anchor location information gets lost, so its questionable whether to actually replace those links.
-
由 Matthias Krüger 提交于
clippy::print_literal clippy::clone_on_copy clippy::single_char_pattern clippy::into_iter_on_ref clippy::match_like_matches_macro
-
由 Guillaume Gomez 提交于
-
由 LeSeulArtichaut 提交于
-
由 LeSeulArtichaut 提交于
-
由 Simonas Kazlauskas 提交于
-
由 Amanieu d'Antras 提交于
-
由 Dr. Koutheir Attouchi 提交于
-
由 Dr. Koutheir Attouchi 提交于
-
由 Guillaume Gomez 提交于
-
由 bors 提交于
Remove the full-bootstrap builder from CI Fixes #75198
-
由 Amanieu d'Antras 提交于
Fixes #75761
-
由 LeSeulArtichaut 提交于
Co-authored-by: NJoshua Nelson <joshua@yottadb.com>
-
由 Denis Vasilik 提交于
-
由 Denis Vasilik 提交于
-
由 Denis Vasilik 提交于
-
由 Guillaume Gomez 提交于
-
由 Guillaume Gomez 提交于
-
- 21 8月, 2020 7 次提交
-
-
由 bors 提交于
enable align_to tests in Miri With https://github.com/rust-lang/miri/issues/1074 resolved, we can enable these tests in Miri. I also tweaked the test sized to get reasonable execution times with decent test coverage.
-
由 Guillaume Gomez 提交于
-
由 Guillaume Gomez 提交于
-
由 Aleksey Kladov 提交于
-
由 Tomasz Miąsko 提交于
Raw standard streams are always available. Remove unused wrapper type that was supposed to be responsible for handling their absence.
-
由 Tomasz Miąsko 提交于
-
由 Tomasz Miąsko 提交于
Raw standard streams constructors are infallible. Remove unnecessary result type.
-