Skip to content

Rollup of 9 pull requests #128253

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

Merged
merged 30 commits into from
Jul 27, 2024
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
c90b6b8
stabilize `const_int_from_str`
Skgland May 9, 2024
eb799cf
mark `can_not_overflow` as `#[rustc_const_stable(...)]`
Skgland Jul 4, 2024
f99df29
fix tests after rebase
Skgland Jul 4, 2024
404519a
bless tests
Skgland Jul 4, 2024
370fcce
rustdoc: change title of search results
lolbinarycat Jul 25, 2024
587b64e
use double quotes
lolbinarycat Jul 25, 2024
caee195
Invert early exit conditions in `collect_tokens_trailing_token`.
nnethercote Jul 25, 2024
4288edb
Inline and remove `AttrWrapper::is_complete`.
nnethercote Jul 25, 2024
3d363c3
Move `is_complete` to the module that uses it.
nnethercote Jul 25, 2024
e631b1e
Invert the sense of `is_complete` and rename it as `needs_tokens`.
nnethercote Jul 25, 2024
a560810
Don't include inner attribute ranges in `CaptureState`.
nnethercote Jul 26, 2024
6e87858
Fix a comment.
nnethercote Jul 26, 2024
6ea2da5
Tweak a loop.
nnethercote Jul 26, 2024
55d37ae
Remove an unnecessary block.
nnethercote Jul 26, 2024
33b98bf
Remove redundant option that was just encoding that a slice was empty
oli-obk Jul 26, 2024
114e0dc
CI: do not respect custom try jobs for unrolled perf builds
Kobzol Jul 26, 2024
33dd288
Add a test case for `extern "C" unsafe` to the ui tests
tdittr Jul 26, 2024
3fdc991
Improve error message for `extern "C" unsafe fn()`
tdittr Jul 26, 2024
130ce49
Fix docs
harryscholes Jul 26, 2024
d565605
Make coroutine-closures possible to be cloned
compiler-errors Jul 25, 2024
5a9959f
Suppress useless clone suggestion
compiler-errors Jul 25, 2024
86721a4
Rollup merge of #124941 - Skgland:stabilize-const-int-from-str, r=dto…
tgross35 Jul 26, 2024
bd18f88
Rollup merge of #128201 - compiler-errors:closure-clone, r=oli-obk
tgross35 Jul 26, 2024
7195b80
Rollup merge of #128210 - lolbinarycat:rustdoc-search-title, r=notrid…
tgross35 Jul 26, 2024
553a64f
Rollup merge of #128223 - nnethercote:refactor-collect_tokens, r=petr…
tgross35 Jul 26, 2024
af52be2
Rollup merge of #128224 - nnethercote:fewer-replace_ranges, r=petroch…
tgross35 Jul 26, 2024
f1cf2f5
Rollup merge of #128226 - oli-obk:option_vs_empty_slice, r=petrochenkov
tgross35 Jul 26, 2024
f9209ae
Rollup merge of #128227 - Kobzol:ci-unrolled-perf-build-matrix, r=tgr…
tgross35 Jul 26, 2024
7eaf747
Rollup merge of #128229 - tdittr:unsafe-extern-abi-error, r=compiler-…
tgross35 Jul 26, 2024
8385f3b
Rollup merge of #128235 - harryscholes:fix-iterator-filter-docs, r=tg…
tgross35 Jul 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix tests after rebase
  • Loading branch information
Skgland committed Jul 4, 2024
commit f99df29d9dcc1c313593967c8c390fae39d462d7
4 changes: 2 additions & 2 deletions src/tools/clippy/tests/ui/from_str_radix_10.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![feature(const_int_from_str)]
#![warn(clippy::from_str_radix_10)]

mod some_mod {
Expand Down Expand Up @@ -61,7 +60,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
Ok(())
}

fn issue_12732() {
// https://github.com/rust-lang/rust-clippy/issues/12731
fn issue_12731() {
const A: Result<u32, std::num::ParseIntError> = u32::from_str_radix("123", 10);
const B: () = {
let _ = u32::from_str_radix("123", 10);
Expand Down
Loading