-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 6 pull requests #63873
Rollup of 6 pull requests #63873
Conversation
Part of the necessary work to accomplish rust-lang#63468.
It can return `Err` due to macros being expanded across crates or files.
Refactor `TinyList::contains` and `len` to iterate instead of recurse None
Do not suggest `.try_into()` on `i32::from(x)` Fix rust-lang#63697.
…trochenkov Suggest calling closure with resolved return type when appropriate Follow up to rust-lang#63337. CC rust-lang#63100. ``` error[E0308]: mismatched types --> $DIR/fn-or-tuple-struct-without-args.rs:46:20 | LL | let closure = || 42; | -- closure defined here LL | let _: usize = closure; | ^^^^^^^ | | | expected usize, found closure | help: use parentheses to call this closure: `closure()` | = note: expected type `usize` found type `[closure@$DIR/fn-or-tuple-struct-without-args.rs:45:19: 45:24]` ```
Ensure miri can do bit ops on pointer values r? @RalfJung Fixes rust-lang/miri#916
Modifies how Arg, Arm, Field, FieldPattern and Variant are visited Part of the necessary work to accomplish rust-lang#63468.
… r=Centril Don't unwrap the result of `span_to_snippet` Closes rust-lang#63800
@bors r+ p=6 rollup=never |
📌 Commit 4d3d06a has been approved by |
Rollup of 6 pull requests Successful merges: - #62744 (Refactor `TinyList::contains` and `len` to iterate instead of recurse) - #63813 (Do not suggest `.try_into()` on `i32::from(x)`) - #63833 (Suggest calling closure with resolved return type when appropriate) - #63839 (Ensure miri can do bit ops on pointer values) - #63854 (Modifies how Arg, Arm, Field, FieldPattern and Variant are visited) - #63859 (Don't unwrap the result of `span_to_snippet`) Failed merges: r? @ghost
☀️ Test successful - checks-azure |
📣 Toolstate changed by #63873! Tested on commit 9267119. 💔 clippy-driver on windows: test-pass → build-fail (cc @Manishearth @llogiq @mcarton @oli-obk @phansch, @rust-lang/infra). |
Tested on commit rust-lang/rust@9267119. Direct link to PR: <rust-lang/rust#63873> 💔 clippy-driver on windows: test-pass → build-fail (cc @Manishearth @llogiq @mcarton @oli-obk @phansch, @rust-lang/infra). 💔 clippy-driver on linux: test-pass → build-fail (cc @Manishearth @llogiq @mcarton @oli-obk @phansch, @rust-lang/infra). 💔 rustc-guide on linux: test-pass → test-fail (cc @mark-i-m @spastorino @amanjeev, @rust-lang/infra).
Successful merges:
TinyList::contains
andlen
to iterate instead of recurse #62744 (RefactorTinyList::contains
andlen
to iterate instead of recurse).try_into()
oni32::from(x)
#63813 (Do not suggest.try_into()
oni32::from(x)
)span_to_snippet
#63859 (Don't unwrap the result ofspan_to_snippet
)Failed merges:
r? @ghost