Skip to content

Rollup of 7 pull requests #112102

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 25 commits into from
May 30, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
f78369b
fix: dedup `static_candidates` before report
bvanjoi May 23, 2023
7f8846a
Uplift clippy::invalid_utf8_in_unchecked as invalid_from_utf8_unchecked
Urgau May 13, 2023
a0612d9
Drop uplifted clippy::invalid_utf8_in_unchecked
Urgau May 13, 2023
7f99c7d
Add invalid_from_utf8 analogous to invalid_from_utf8_unchecked
Urgau May 13, 2023
b84c190
Allow newly uplifted invalid_from_utf8 lint
Urgau May 13, 2023
08d149c
EarlyBinder::new -> EarlyBinder::bind
lcnr May 29, 2023
f333932
Update browser-ui-test version to 0.16.5
GuillaumeGomez May 29, 2023
17e3d1c
Migrate GUI colors test to original CSS color format
GuillaumeGomez May 29, 2023
c571558
Give a more helpful error when calling `cargo_crates_in_set` for an a…
jyn514 May 25, 2023
564e3ad
Allow checking individual crates
jyn514 May 25, 2023
20372f1
Add a `make_run_crates` function and use it Rustc and Std
jyn514 May 25, 2023
cb4b7f6
Extend `msg` and `description` to work with any subcommand
jyn514 May 25, 2023
58e18dd
Switch doc::{Std, Rustc} to `crate_or_deps`
jyn514 May 25, 2023
3e765a7
Switch Steps from crates to crate_or_deps where possible
jyn514 May 25, 2023
71770d5
Document `ShouldRun::paths`
jyn514 May 25, 2023
c28ee60
Fix bugs in `doc` refactor
jyn514 May 25, 2023
000cd9b
fix comment on Allocator trait
reez12g May 30, 2023
e11ffb6
Don't typecheck suggested method call
jieyouxu May 30, 2023
18c9baf
Rollup merge of #107916 - reez12g:issue-107040, r=Amanieu
Noratrieb May 30, 2023
7a4006c
Rollup merge of #111543 - Urgau:uplift_invalid_utf8_in_unchecked, r=W…
Noratrieb May 30, 2023
0c9f87c
Rollup merge of #111872 - bvanjoi:fix-103646, r=cjgillot
Noratrieb May 30, 2023
65833ed
Rollup merge of #111955 - jyn514:step-refactors, r=clubby789
Noratrieb May 30, 2023
e7fdba8
Rollup merge of #112060 - lcnr:early-binder, r=jackh726
Noratrieb May 30, 2023
f4b20da
Rollup merge of #112064 - GuillaumeGomez:migrate-gui-test-color-9, r=…
Noratrieb May 30, 2023
cc12182
Rollup merge of #112100 - jieyouxu:issue-106929, r=oli-obk
Noratrieb May 30, 2023
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
Drop uplifted clippy::invalid_utf8_in_unchecked
  • Loading branch information
Urgau committed May 26, 2023
commit a0612d90b08e2ee3fac4e807f56e51dd665ec882
1 change: 0 additions & 1 deletion src/tools/clippy/clippy_lints/src/declared_lints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ pub(crate) static LINTS: &[&crate::LintInfo] = &[
crate::instant_subtraction::UNCHECKED_DURATION_SUBTRACTION_INFO,
crate::int_plus_one::INT_PLUS_ONE_INFO,
crate::invalid_upcast_comparisons::INVALID_UPCAST_COMPARISONS_INFO,
crate::invalid_utf8_in_unchecked::INVALID_UTF8_IN_UNCHECKED_INFO,
crate::items_after_statements::ITEMS_AFTER_STATEMENTS_INFO,
crate::items_after_test_module::ITEMS_AFTER_TEST_MODULE_INFO,
crate::iter_not_returning_iterator::ITER_NOT_RETURNING_ITERATOR_INFO,
Expand Down
74 changes: 0 additions & 74 deletions src/tools/clippy/clippy_lints/src/invalid_utf8_in_unchecked.rs

This file was deleted.

2 changes: 0 additions & 2 deletions src/tools/clippy/clippy_lints/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ mod inline_fn_without_body;
mod instant_subtraction;
mod int_plus_one;
mod invalid_upcast_comparisons;
mod invalid_utf8_in_unchecked;
mod items_after_statements;
mod items_after_test_module;
mod iter_not_returning_iterator;
Expand Down Expand Up @@ -937,7 +936,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
store.register_late_pass(move |_| Box::new(manual_retain::ManualRetain::new(msrv())));
let verbose_bit_mask_threshold = conf.verbose_bit_mask_threshold;
store.register_late_pass(move |_| Box::new(operators::Operators::new(verbose_bit_mask_threshold)));
store.register_late_pass(|_| Box::new(invalid_utf8_in_unchecked::InvalidUtf8InUnchecked));
store.register_late_pass(|_| Box::<std_instead_of_core::StdReexports>::default());
store.register_late_pass(move |_| Box::new(instant_subtraction::InstantSubtraction::new(msrv())));
store.register_late_pass(|_| Box::new(partialeq_to_none::PartialeqToNone));
Expand Down
1 change: 1 addition & 0 deletions src/tools/clippy/clippy_lints/src/renamed_lints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ pub static RENAMED_LINTS: &[(&str, &str)] = &[
("clippy::into_iter_on_array", "array_into_iter"),
("clippy::invalid_atomic_ordering", "invalid_atomic_ordering"),
("clippy::invalid_ref", "invalid_value"),
("clippy::invalid_utf8_in_unchecked", "invalid_from_utf8_unchecked"),
("clippy::let_underscore_drop", "let_underscore_drop"),
("clippy::mem_discriminant_non_enum", "enum_intrinsics_non_enums"),
("clippy::panic_params", "non_fmt_panics"),
Expand Down
20 changes: 0 additions & 20 deletions src/tools/clippy/tests/ui/invalid_utf8_in_unchecked.rs

This file was deleted.

22 changes: 0 additions & 22 deletions src/tools/clippy/tests/ui/invalid_utf8_in_unchecked.stderr

This file was deleted.

2 changes: 2 additions & 0 deletions src/tools/clippy/tests/ui/rename.fixed
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
#![allow(array_into_iter)]
#![allow(invalid_atomic_ordering)]
#![allow(invalid_value)]
#![allow(invalid_from_utf8_unchecked)]
#![allow(let_underscore_drop)]
#![allow(enum_intrinsics_non_enums)]
#![allow(non_fmt_panics)]
Expand Down Expand Up @@ -87,6 +88,7 @@
#![warn(array_into_iter)]
#![warn(invalid_atomic_ordering)]
#![warn(invalid_value)]
#![warn(invalid_from_utf8_unchecked)]
#![warn(let_underscore_drop)]
#![warn(enum_intrinsics_non_enums)]
#![warn(non_fmt_panics)]
Expand Down
2 changes: 2 additions & 0 deletions src/tools/clippy/tests/ui/rename.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
#![allow(array_into_iter)]
#![allow(invalid_atomic_ordering)]
#![allow(invalid_value)]
#![allow(invalid_from_utf8_unchecked)]
#![allow(let_underscore_drop)]
#![allow(enum_intrinsics_non_enums)]
#![allow(non_fmt_panics)]
Expand Down Expand Up @@ -87,6 +88,7 @@
#![warn(clippy::into_iter_on_array)]
#![warn(clippy::invalid_atomic_ordering)]
#![warn(clippy::invalid_ref)]
#![warn(clippy::invalid_utf8_in_unchecked)]
#![warn(clippy::let_underscore_drop)]
#![warn(clippy::mem_discriminant_non_enum)]
#![warn(clippy::panic_params)]
Expand Down
Loading