-
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 5 pull requests #102726
Rollup of 5 pull requests #102726
Commits on Oct 5, 2022
-
Revert "Use getentropy when possible on all Apple platforms"
This reverts commit 3fc35b5.
Configuration menu - View commit details
-
Copy full SHA for a955ef2 - Browse repository at this point
Copy the full SHA a955ef2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66c8c5a - Browse repository at this point
Copy the full SHA 66c8c5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61cf3bf - Browse repository at this point
Copy the full SHA 61cf3bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 760279f - Browse repository at this point
Copy the full SHA 760279fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b7c42c5 - Browse repository at this point
Copy the full SHA b7c42c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65c0e68 - Browse repository at this point
Copy the full SHA 65c0e68View commit details -
Update compiler/rustc_hir_analysis/src/check/callee.rs
Co-authored-by: nils <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ea38370 - Browse repository at this point
Copy the full SHA ea38370View commit details -
rustdoc: remove unused CSS class
in-band
Since a7c25b2 removed `in-band` from code headers, the only remaining uses of the `in-band` class are: https://github.com/rust-lang/rust/blob/02cd79afb8080fce8c8ce35533c54d8ecf8f390e/src/librustdoc/html/render/write_shared.rs#L520-L521 https://github.com/rust-lang/rust/blob/02cd79afb8080fce8c8ce35533c54d8ecf8f390e/src/librustdoc/html/templates/print_item.html#L2-L3 https://github.com/rust-lang/rust/blob/02cd79afb8080fce8c8ce35533c54d8ecf8f390e/src/librustdoc/html/render/context.rs#L637-L638 https://github.com/rust-lang/rust/blob/02cd79afb8080fce8c8ce35533c54d8ecf8f390e/src/librustdoc/html/render/mod.rs#L368-L369 https://github.com/rust-lang/rust/blob/02cd79afb8080fce8c8ce35533c54d8ecf8f390e/src/librustdoc/html/render/mod.rs#L401-L402 https://github.com/rust-lang/rust/blob/02cd79afb8080fce8c8ce35533c54d8ecf8f390e/src/librustdoc/html/static/js/main.js#L525 Since all of these uses are nested below `h1.fqn`, we can get rid of it, and the support code that was used for when `in-band` was part of item rendering.
Configuration menu - View commit details
-
Copy full SHA for 3cb03cb - Browse repository at this point
Copy the full SHA 3cb03cbView commit details
Commits on Oct 6, 2022
-
Rollup merge of rust-lang#102672 - notriddle:notriddle/fqn-in-band, r…
…=GuillaumeGomez rustdoc: remove unused CSS class `in-band` Since a7c25b2 removed `in-band` from code headers, the only remaining uses of the `in-band` class are: https://github.com/rust-lang/rust/blob/02cd79afb8080fce8c8ce35533c54d8ecf8f390e/src/librustdoc/html/render/write_shared.rs#L520-L521 https://github.com/rust-lang/rust/blob/02cd79afb8080fce8c8ce35533c54d8ecf8f390e/src/librustdoc/html/templates/print_item.html#L2-L3 https://github.com/rust-lang/rust/blob/02cd79afb8080fce8c8ce35533c54d8ecf8f390e/src/librustdoc/html/render/context.rs#L637-L638 https://github.com/rust-lang/rust/blob/02cd79afb8080fce8c8ce35533c54d8ecf8f390e/src/librustdoc/html/render/mod.rs#L368-L369 https://github.com/rust-lang/rust/blob/02cd79afb8080fce8c8ce35533c54d8ecf8f390e/src/librustdoc/html/render/mod.rs#L401-L402 https://github.com/rust-lang/rust/blob/02cd79afb8080fce8c8ce35533c54d8ecf8f390e/src/librustdoc/html/static/js/main.js#L525 Since all of these uses are nested below `h1.fqn`, we can get rid of it, and the support code that was used for when `in-band` was part of item rendering.
Configuration menu - View commit details
-
Copy full SHA for 5f5b7b8 - Browse repository at this point
Copy the full SHA 5f5b7b8View commit details -
Rollup merge of rust-lang#102693 - BlackHoleFox:revert-apple-entropy-…
…changes, r=thomcc Revert "Use getentropy when possible on all Apple platforms" Per rust-lang#102643, This reverts commit 3fc35b5 to avoid breaking any Rust on iOS users. Closes rust-lang#102643
Configuration menu - View commit details
-
Copy full SHA for 6d8cea6 - Browse repository at this point
Copy the full SHA 6d8cea6View commit details -
Rollup merge of rust-lang#102694 - compiler-errors:fn-to-method, r=da…
…vidtwco Suggest calling method if fn does not exist I tried to split this up into two commits, the first where we stash the resolution error until typeck (which causes a bunch of diagnostics changes because the ordering of error messages change), then the second commit is the actual logic that actually implements the suggestion. I am not in love with the presentation of the suggestion, so I could use some advice for how to format the actual messaging. r? diagnostics Fixes rust-lang#102518
Configuration menu - View commit details
-
Copy full SHA for a9b3441 - Browse repository at this point
Copy the full SHA a9b3441View commit details -
Rollup merge of rust-lang#102708 - TaKO8Ki:improve-eqeq-suggestion, r…
…=estebank Suggest `==` to wrong assign expr Given the following code: ```rust fn main() { let x = 3; let y = 3; if x == x && y = y { println!("{}", x); } } ``` Current output is: ``` error[E0308]: mismatched types --> src/main.rs:4:18 | 4 | if x == x && y = y { | ^ expected `bool`, found integer error[E0308]: mismatched types --> src/main.rs:4:8 | 4 | if x == x && y = y { | ^^^^^^^^^^^^^^^ expected `bool`, found `()` ``` This adds a suggestion: ```diff error[E0308]: mismatched types --> src/main.rs:6:18 | 6 | if x == x && y = y { | ^ expected `bool`, found integer error[E0308]: mismatched types --> src/main.rs:6:8 | 6 | if x == x && y = y { | ^^^^^^^^^^^^^^^ expected `bool`, found `()` | + help: you might have meant to compare for equality + | + 6 | if x == x && y == y { + | + ``` And this fixes a part of rust-lang#97469
Configuration menu - View commit details
-
Copy full SHA for 0512a06 - Browse repository at this point
Copy the full SHA 0512a06View commit details -
Rollup merge of rust-lang#102710 - Rageking8:add-test-for-issue-82633…
…, r=estebank Add test for issue 82633 Fixes rust-lang#82633 r? `@estebank` The current stderr looks slightly different from [source](https://github.com/rust-lang/rust/pull/83915/files#diff-8c64c576ccaceb816e71d2279a6ee4bf79211bc06f55c46dda3f98a18748ad7a), so I used the latest one from nightly. Do let me know if anything is wrong.
Configuration menu - View commit details
-
Copy full SHA for b7642fb - Browse repository at this point
Copy the full SHA b7642fbView commit details