-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Fix some minor warnings #57764
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix some minor warnings #57764
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
@@ -11,6 +11,7 @@ | |||
test(attr(deny(warnings))))] | |||
|
|||
#![feature(nll)] | |||
#![feature(rustc_private)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Due to is_xid_{start, continue}
@@ -25,7 +25,7 @@ | |||
#![feature(asm)] | |||
#![cfg_attr(stage0, feature(cfg_target_vendor))] | |||
#![feature(fnbox)] | |||
#![cfg_attr(any(unix, target_os = "cloudabi"), feature(libc))] | |||
#![cfg_attr(any(unix, target_os = "cloudabi"), feature(libc, rustc_private))] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any libc usage was warned against due to missing rustc_private
annotation
@bors r+ rollup |
📌 Commit ff41abc has been approved by |
Fix some minor warnings Since apparently RLS works when initialized in the root repository (:tada:) I decided to fix some of the issues it caught. There are a lot of unused attribute warnings left on `rustc_on_unimplemented` and `rustc_layout_scalar_valid_range_start` but I imagine we can't do much about it due to 2-stage compilation?
Fix some minor warnings Since apparently RLS works when initialized in the root repository (:tada:) I decided to fix some of the issues it caught. There are a lot of unused attribute warnings left on `rustc_on_unimplemented` and `rustc_layout_scalar_valid_range_start` but I imagine we can't do much about it due to 2-stage compilation?
Fix some minor warnings Since apparently RLS works when initialized in the root repository (:tada:) I decided to fix some of the issues it caught. There are a lot of unused attribute warnings left on `rustc_on_unimplemented` and `rustc_layout_scalar_valid_range_start` but I imagine we can't do much about it due to 2-stage compilation?
Rollup of 7 pull requests Successful merges: - #57407 (Stabilize extern_crate_self) - #57703 (Make MutexGuard's Debug implementation more useful.) - #57764 (Fix some minor warnings) - #57825 (un-deprecate mem::zeroed) - #57827 (Ignore aarch64 in simd-intrinsic-generic-reduction) - #57908 (resolve: Fix span arithmetics in the import conflict error) - #57913 (Change crate-visibility-modifier issue number in The Unstable Book) Failed merges: r? @ghost
Since apparently RLS works when initialized in the root repository (:tada:) I decided to fix some of the issues it caught.
There are a lot of unused attribute warnings left on
rustc_on_unimplemented
andrustc_layout_scalar_valid_range_start
but I imagine we can't do much about it due to 2-stage compilation?