Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump stdsimd; make intra_doc_link_resolution_failure an error again; make lints more consistent #59955

Merged
merged 3 commits into from
Apr 15, 2019

Conversation

RalfJung
Copy link
Member

@RalfJung RalfJung commented Apr 14, 2019

I made intra_doc_link_resolution_failure warn so that it would properly respect deny-warnings = false in config.toml. #[warn] still become errors with -D warnings so I thought this was fine.

Turns out however that we don't pass -D warnings when running rustdoc, so for additional rustdoc-lints we need to set them to deny.

Also sue the opportunity to make the lint flags more consistent between libcore, liballoc, libstd.

Cc @gnzlbg for the big stdsimd update.

@rust-highfive
Copy link
Collaborator

r? @alexcrichton

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

@rust-highfive
Copy link
Collaborator

⚠️ Warning ⚠️

  • These commits modify submodules.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 14, 2019
@@ -60,8 +60,8 @@

#![warn(deprecated_in_future)]
#![warn(missing_docs)]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Btw @alexcrichton is there any reason liballoc does not have warn(missing_docs)? Should I add it there as well to make things more consistent?

The other inconsistency I noticed is that libcore does not have deny(rust_2018_idioms). But that seems people just didn't get there yet.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is being worked on, #58702.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RalfJung when those annotations were added it wasn't needed, now that it's a stable crate we probably need it

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I added the attribute. That uncovered a few missing docs, and indeed for items that got reexported in std! So I also added docs.

@RalfJung RalfJung changed the title bump stdsimd; make intra_doc_link_resolution_failure an error again bump stdsimd; make intra_doc_link_resolution_failure an error again; make lints more consistent Apr 14, 2019
@gnzlbg
Copy link
Contributor

gnzlbg commented Apr 14, 2019

Cc @gnzlbg for the big stdsimd update.

LGTM. It appears that every time you update stdsimd, some new feature lands, you are our luck hero ! This updates lands all MIPS MSA SIMD intrinsics on nightly, which were added by @rbirdic in this massive PR: rust-lang/stdarch#709

@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Contributor

bors commented Apr 15, 2019

📌 Commit 8ef7ca1 has been approved by alexcrichton

@bors bors 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 Apr 15, 2019
@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Contributor

bors commented Apr 15, 2019

📌 Commit 50c615b has been approved by alexcrichton

Centril added a commit to Centril/rust that referenced this pull request Apr 15, 2019
bump stdsimd; make intra_doc_link_resolution_failure an error again; make lints more consistent

I made `intra_doc_link_resolution_failure` warn so that it would properly respect `deny-warnings = false` in `config.toml`.  `#[warn]` still become errors with `-D warnings` so I thought this was fine.

Turns out however that we don't pass `-D warnings` when running rustdoc, so for additional rustdoc-lints we need to set them to `deny`.

Also sue the opportunity to make the lint flags more consistent between libcore, liballoc, libstd.

Cc @gnzlbg for the *big* stdsimd update.
bors added a commit that referenced this pull request Apr 15, 2019
Rollup of 6 pull requests

Successful merges:

 - #59648 (Add must_use annotations to Result::is_ok and is_err)
 - #59748 (Add summary and reference to Rust trademark guide)
 - #59779 (Uplift `get_def_path` from Clippy)
 - #59955 (bump stdsimd; make intra_doc_link_resolution_failure an error again; make lints more consistent)
 - #59978 (rustdoc: Remove default keyword from re-exported trait methods)
 - #59989 (Fix links to Atomic* in RELEASES.md)

Failed merges:

r? @ghost
@bors bors merged commit 50c615b into rust-lang:master Apr 15, 2019
@RalfJung RalfJung deleted the stdsimd branch June 10, 2019 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: 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.

6 participants