-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Rollup of 8 pull requests #42032
Rollup of 8 pull requests #42032
Commits on May 13, 2017
-
Configuration menu - View commit details
-
Copy full SHA for df188b8 - Browse repository at this point
Copy the full SHA df188b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for db82c57 - Browse repository at this point
Copy the full SHA db82c57View commit details -
Support #[allow] etc logic on a per macro level
This commit extends the current unused macro linter to support directives like #[allow(unused_macros)] or #[deny(unused_macros)] directly next to the macro definition, or in one of the modules the macro is inside. Before, we only supported such directives at a per crate level, due to the crate's NodeId being passed to session.add_lint. We also had to implement handling of the macro's NodeId in the lint visitor.
Configuration menu - View commit details
-
Copy full SHA for d14d194 - Browse repository at this point
Copy the full SHA d14d194View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba0601d - Browse repository at this point
Copy the full SHA ba0601dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b36d23c - Browse repository at this point
Copy the full SHA b36d23cView commit details
Commits on May 14, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 0d0cb27 - Browse repository at this point
Copy the full SHA 0d0cb27View commit details -
Explain why
thread::yield_now
could be used.Part of rust-lang#29378.
Felix Raimundo committedMay 14, 2017 Configuration menu - View commit details
-
Copy full SHA for a9cb094 - Browse repository at this point
Copy the full SHA a9cb094View commit details -
Improve
thread::Builder
documentation.Part of rust-lang#29378 . - In particular explains *why* we would use the builder instead of the free function. - Changes the parent-child explanation for a spawned-caller. - Add link to `io::Result` in `thread::Builder` - Corrects the `thread::Builder::spawn` documentation.
Felix Raimundo committedMay 14, 2017 Configuration menu - View commit details
-
Copy full SHA for a51777e - Browse repository at this point
Copy the full SHA a51777eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 93f78bc - Browse repository at this point
Copy the full SHA 93f78bcView commit details
Commits on May 15, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 173f693 - Browse repository at this point
Copy the full SHA 173f693View commit details -
Make unsatisfied trait bounds note multiline
Make diagnostic note for existing method with unsatisfied trait bounds multiline for cleaner output. ``` = note: the method `count` exists but the following trait bounds were not satisfied: `[closure@../../src/test/compile-fail/issue-36053-2.rs:17:39: 17:53] : std::ops::FnMut<(&_,)>` `std::iter::Filter<std::iter::Fuse<std::iter::Once<&str>> [closure@../../src/test/compile-fail/issue-36053-2.rs:17:39: 17:53]> : std::iter::Iterator` Before: ``` = note: the method `count` exists but the following trait bounds were not satisfied: `[closure@../../src/test/compile-fail/issue-36053-2.rs:17:39: 17:53] : std::ops::FnMut<(&_,)>`, `std::iter::Filter<std::iter::Fuse<std::iter::Once<&str>>, [closure@../../src/test/compile-fail/issue-36053-2.rs:17:39: 17:53]> : std::iter::Iterator` ```
Configuration menu - View commit details
-
Copy full SHA for c0d5aa8 - Browse repository at this point
Copy the full SHA c0d5aa8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25b7f10 - Browse repository at this point
Copy the full SHA 25b7f10View commit details -
Add links to the
thread::LocalKey
doc.Part of rust-lang#29378 .
Felix Raimundo committedMay 15, 2017 Configuration menu - View commit details
-
Copy full SHA for f92bd3d - Browse repository at this point
Copy the full SHA f92bd3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f4e1e1 - Browse repository at this point
Copy the full SHA 9f4e1e1View commit details
Commits on May 16, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 6dbd706 - Browse repository at this point
Copy the full SHA 6dbd706View commit details -
Rollup merge of rust-lang#41489 - estebank:trait-bounds-diagnosstic, …
…r=arielb1 Make unsatisfied trait bounds note multiline Make diagnostic note for existing method with unsatisfied trait bounds multiline for cleaner output. ``` = note: the method `count` exists but the following trait bounds were not satisfied: `[closure@../../src/test/compile-fail/issue-36053-2.rs:17:39: 17:53] : std::ops::FnMut<(&_,)>` `std::iter::Filter<std::iter::Fuse<std::iter::Once<&str>> [closure@../../src/test/compile-fail/issue-36053-2.rs:17:39: 17:53]> : std::iter::Iterator` ``` Before: ``` = note: the method `count` exists but the following trait bounds were not satisfied: `[closure@../../src/test/compile-fail/issue-36053-2.rs:17:39: 17:53] : std::ops::FnMut<(&_,)>`, `std::iter::Filter<std::iter::Fuse<std::iter::Once<&str>>, [closure@../../src/test/compile-fail/issue-36053-2.rs:17:39: 17:53]> : std::iter::Iterator` ```
Configuration menu - View commit details
-
Copy full SHA for a49d6c1 - Browse repository at this point
Copy the full SHA a49d6c1View commit details -
Rollup merge of rust-lang#41907 - est31:macro_unused, r=jseyfried
Add lint for unused macros Addresses parts of rust-lang#34938, to add a lint for unused macros. We now output warnings by default when we encounter a macro that we didn't use for expansion. Issues to be resolved before this PR is ready for merge: - [x] fix the NodeId issue described above - [x] remove all unused macros from rustc and the libraries or set `#[allow(unused_macros)]` next to them if they should be kept for some reason. This is needed for successful boostrap and bors to accept the PR. -> rust-lang#41934 - [x] ~~implement the full extent of rust-lang#34938, that means the macro match arm checking as well.~~ *let's not do this for now*
Configuration menu - View commit details
-
Copy full SHA for 38bdfdc - Browse repository at this point
Copy the full SHA 38bdfdcView commit details -
Rollup merge of rust-lang#41932 - wesleywiser:py-to-rust, r=alexcrichton
Rewrite make-win-dist.py in Rust Fixes rust-lang#41568
Configuration menu - View commit details
-
Copy full SHA for 0dc1d45 - Browse repository at this point
Copy the full SHA 0dc1d45View commit details -
Rollup merge of rust-lang#41982 - gamazeps:thread-yield-now, r=Guilla…
…umeGomez [Doc] Explain why `thread::yield_now` could be used. Part of rust-lang#29378. r? @steveklabnik
Configuration menu - View commit details
-
Copy full SHA for e4a4f53 - Browse repository at this point
Copy the full SHA e4a4f53View commit details -
Rollup merge of rust-lang#41994 - gamazeps:thread-builder, r=Guillaum…
…eGomez [Doc] Implrove `thread::Builder`'s doc. Part of rust-lang#29378 . - Explains *why* we would use the builder instead ofthe free function. - Changes the parent-child explanation for a spawned-caller in `thread::Builder::spawn` - Adds a link to `io::Result` in `thread::Builder` - Corrects the return type doc in `thread::Builder::spawn` r? @rust-lang/docs
Configuration menu - View commit details
-
Copy full SHA for b5a24d4 - Browse repository at this point
Copy the full SHA b5a24d4View commit details -
Rollup merge of rust-lang#41995 - gamazeps:thread-localkey, r=frewsxcv
[Doc] Add links to the `thread::LocalKey` doc. Part of rust-lang#29378 . I do not know exactly what should be done for the `cleanup` part, if you have any idea I'll gladly do it. r? @rust-lang/docs
Configuration menu - View commit details
-
Copy full SHA for 4e48bfb - Browse repository at this point
Copy the full SHA 4e48bfbView commit details -
Rollup merge of rust-lang#42001 - ollie27:rustdoc_extern_fn, r=Guilla…
…umeGomez rustdoc: Display `extern "C" fn` instead of `extern fn` It was decided in rust-lang/style-team#52 to be explicit about the ABI so rustdoc should follow suit.
Configuration menu - View commit details
-
Copy full SHA for bf3abe0 - Browse repository at this point
Copy the full SHA bf3abe0View commit details -
Rollup merge of rust-lang#42005 - jseyfried:fix_macro_regression, r=nrc
Fix regression in `macro_rules!` name matching Fixes rust-lang#41803. r? @nrc
Configuration menu - View commit details
-
Copy full SHA for 747f7d2 - Browse repository at this point
Copy the full SHA 747f7d2View commit details