Skip to content

Rollup of 8 pull requests #135419

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

Closed
wants to merge 28 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
97ada59
jsondoclint: Support `//@ !has <path> <value>`.
aDotInTheVoid Jan 10, 2025
1fe3331
rustdoc-json: Include items in stripped modules in `Crate::paths`.
aDotInTheVoid Jan 10, 2025
2a2b090
jsondoclint: Check that `Path` types exitst in `Crate::paths`.
aDotInTheVoid Jan 10, 2025
6f72f13
Remove allocations from case-insensitive comparison to keywords
Mark-Simulacrum Jan 11, 2025
ad550f8
Remove some empty expected files to fix blessing
joshtriplett Jan 12, 2025
e54264c
Deny `clippy::format_in_format_args` and fix the only occurrence
joshtriplett Jan 12, 2025
9c5b99d
Deny `clippy:;four_forward_slashes` and fix the only occurrence
joshtriplett Jan 12, 2025
3b262bd
Deny `clippy::char_lit_as_u8` (no occurrences)
joshtriplett Jan 12, 2025
fc683cb
Deny `clippy::non_minimal_cfg` (no occurrences)
joshtriplett Jan 12, 2025
e6056b5
Deny `clippy::needless_bool` and `clippy::needless_bool_assign` (no o…
joshtriplett Jan 12, 2025
132e640
Deny `clippy::print_literal` (no occurrences)
joshtriplett Jan 12, 2025
57fcee8
Deny `clippy::same_item_push` (no occurrences)
joshtriplett Jan 12, 2025
fb2e706
Deny `clippy::single_char_add_str` (no occurrences)
joshtriplett Jan 12, 2025
fcc7803
Deny `clippy::to_string_in_format_args` (no occurrences)
joshtriplett Jan 12, 2025
af7bc31
Deny `clippy::four_forward_slashes` in library (no occurrences)
joshtriplett Jan 12, 2025
5621077
Update unstable lint docs to include required feature attributes
Aditya-PS-05 Jan 12, 2025
4de8cef
De-abstract tagged pointer abstraction
BoxyUwU Jan 10, 2025
f25b081
run_make_support: add `#![warn(unreachable_pub)]`
Urgau Jan 12, 2025
6024a06
Update the explanation for why we use box_new in vec!
saethlin Jan 11, 2025
7ece88a
remove test_unstable_lint feature
Aditya-PS-05 Jan 12, 2025
3a01c2a
Rollup merge of #135348 - aDotInTheVoid:pathspathspaths, r=GuillaumeG…
GuillaumeGomez Jan 12, 2025
93f254d
Rollup merge of #135365 - saethlin:box-new, r=compiler-errors
GuillaumeGomez Jan 12, 2025
c9d3f31
Rollup merge of #135371 - Mark-Simulacrum:no-alloc-case-cmp, r=compil…
GuillaumeGomez Jan 12, 2025
dd81c7b
Rollup merge of #135383 - BoxyUwU:cov_tag_ptr, r=compiler-errors
GuillaumeGomez Jan 12, 2025
b34ce62
Rollup merge of #135401 - joshtriplett:empty-expected, r=lqd
GuillaumeGomez Jan 12, 2025
6812da4
Rollup merge of #135406 - Aditya-PS-05:fix/unstable-lint-docs, r=comp…
GuillaumeGomez Jan 12, 2025
31fb748
Rollup merge of #135407 - joshtriplett:more-clippy, r=compiler-errors
GuillaumeGomez Jan 12, 2025
af282ea
Rollup merge of #135411 - Urgau:unreach_pub-run-make, r=jieyouxu
GuillaumeGomez Jan 12, 2025
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
3 changes: 2 additions & 1 deletion compiler/rustc_ast/src/token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,8 @@ impl Token {
self.is_keyword(kw)
|| (case == Case::Insensitive
&& self.is_non_raw_ident_where(|id| {
id.name.as_str().to_lowercase() == kw.as_str().to_lowercase()
// Do an ASCII case-insensitive match, because all keywords are ASCII.
id.name.as_str().eq_ignore_ascii_case(kw.as_str())
}))
}

Expand Down
4 changes: 2 additions & 2 deletions compiler/rustc_data_structures/src/marker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl_dyn_send!(
[Vec<T, A> where T: DynSend, A: std::alloc::Allocator + DynSend]
[Box<T, A> where T: ?Sized + DynSend, A: std::alloc::Allocator + DynSend]
[crate::sync::RwLock<T> where T: DynSend]
[crate::tagged_ptr::CopyTaggedPtr<P, T, CP> where P: Send + crate::tagged_ptr::Pointer, T: Send + crate::tagged_ptr::Tag, const CP: bool]
[crate::tagged_ptr::TaggedRef<'a, P, T> where 'a, P: Sync, T: Send + crate::tagged_ptr::Tag]
[rustc_arena::TypedArena<T> where T: DynSend]
[indexmap::IndexSet<V, S> where V: DynSend, S: DynSend]
[indexmap::IndexMap<K, V, S> where K: DynSend, V: DynSend, S: DynSend]
Expand Down Expand Up @@ -148,7 +148,7 @@ impl_dyn_sync!(
[crate::sync::RwLock<T> where T: DynSend + DynSync]
[crate::sync::WorkerLocal<T> where T: DynSend]
[crate::intern::Interned<'a, T> where 'a, T: DynSync]
[crate::tagged_ptr::CopyTaggedPtr<P, T, CP> where P: Sync + crate::tagged_ptr::Pointer, T: Sync + crate::tagged_ptr::Tag, const CP: bool]
[crate::tagged_ptr::TaggedRef<'a, P, T> where 'a, P: Sync, T: Sync + crate::tagged_ptr::Tag]
[parking_lot::lock_api::Mutex<R, T> where R: DynSync, T: ?Sized + DynSend]
[parking_lot::lock_api::RwLock<R, T> where R: DynSync, T: ?Sized + DynSend + DynSync]
[indexmap::IndexSet<V, S> where V: DynSync, S: DynSync]
Expand Down
Loading
Loading