Skip to content

Fix some minor warnings - #57764

Merged
bors merged 2 commits into
rust-lang:masterfrom
Xanewok:tiny-tweaks
Jan 26, 2019
Merged

Fix some minor warnings#57764
bors merged 2 commits into
rust-lang:masterfrom
Xanewok:tiny-tweaks

Conversation

@Xanewok

Copy link
Copy Markdown
Contributor

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?

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 19, 2019
test(attr(deny(warnings))))]

#![feature(nll)]
#![feature(rustc_private)]

Copy link
Copy Markdown
ContributorAuthor

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}

Comment threadsrc/libtest/lib.rs
#![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))]

Copy link
Copy Markdown
ContributorAuthor

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

@nikomatsakis

Copy link
Copy Markdown
Contributor

@bors r+ rollup

@bors

bors commented Jan 25, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit ff41abc has been approved by nikomatsakis

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 25, 2019
Centril added a commit to Centril/rust that referenced this pull request Jan 26, 2019
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?
@CentrilCentril mentioned this pull request Jan 26, 2019
Centril added a commit to Centril/rust that referenced this pull request Jan 26, 2019
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?
@CentrilCentril mentioned this pull request Jan 26, 2019
Centril added a commit to Centril/rust that referenced this pull request Jan 26, 2019
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?
@CentrilCentril mentioned this pull request Jan 26, 2019
bors added a commit that referenced this pull request Jan 26, 2019
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
@bors
bors merged commit ff41abc into rust-lang:masterJan 26, 2019
@Xanewok
Xanewok deleted the tiny-tweaks branch January 27, 2019 14:40
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@Xanewok@rust-highfive@nikomatsakis@bors