Skip to content
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 10 pull requests #120920

Merged
merged 186 commits into from
Feb 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
186 commits
Select commit Hold shift + click to select a range
c493634
Add link to Formatting traits from alternate forms
majaha Nov 8, 2023
9bfe49e
Add note on how 0 flag overrides fill character
majaha Nov 8, 2023
19caba0
Remove trailing whitespace
majaha Nov 9, 2023
4b3f115
Remove an unneeded helper from the tuple library code
scottmcm Nov 26, 2023
8dc66b5
fix: waker_getters tracking issue from 87021 for 96992.
tvallotton Dec 15, 2023
27ba1c1
Suggest less bug-prone construction of Duration in docs
BenWiederhake Dec 23, 2023
e55716e
Fix `clippy::correctness` in the library
Noratrieb Dec 30, 2023
e077ff0
core: add Duration constructors
djc Jan 24, 2024
e0446a0
implement assist for let stmt with TryEnum type to guarded return
dfireBird Jan 24, 2024
9e8a0fa
Lint debug prints and disallowed types with clippy
Veykril Feb 1, 2024
0fd7706
internal: Move `TyBuilder::subst_for_def` into a block
davidbarsky Feb 1, 2024
f9bef39
internal: add some more `tracing` spans inside of `hir-ty`
davidbarsky Feb 1, 2024
5fe3b75
incorrect case diagnostics for trait name
davidsemakula Feb 1, 2024
6d2d632
incorrect case diagnostics for trait assoc functions and consts
davidsemakula Feb 1, 2024
0ffc088
no incorrect case diagnostics for trait impl assoc functions and cons…
davidsemakula Feb 2, 2024
080d223
incorrect case diagnostics for type aliases
davidsemakula Feb 2, 2024
46d79e2
add allow and deny attribute tests for incorrect case diagnostics for…
davidsemakula Feb 2, 2024
c0071ac
refactor `hir-ty::diagnostics::decl_check`
davidsemakula Feb 3, 2024
23aa872
refactor `hir-ty::diagnostics::decl_check` for function bodies
davidsemakula Feb 3, 2024
8e29104
refactor `hir-ty::diagnostics::decl_check` for struct fields
davidsemakula Feb 3, 2024
d761d86
refactor `hir-ty::diagnostics::decl_check` for enum variants
davidsemakula Feb 3, 2024
1451270
Remove unused Subtree::visit_ids function
GnomedDev Feb 3, 2024
8011b56
Swap Subtree::token_trees from Vec to boxed slice
GnomedDev Feb 3, 2024
b8a3180
Merge commit '0113bc9388b480fa42c632f57f4f0f7af5813ec1' into sync-fro…
lnicola Feb 4, 2024
38b5c8c
Try to fix in-tree build
lnicola Feb 4, 2024
bec1e0f
minor: polish warning msg
Young-Flash Feb 4, 2024
97ecfe4
Remove unnecessary `.as_ref()` in generate getter assist
ShoyuVanilla Feb 4, 2024
5a74532
Document various I/O handle conversions
rytheo Feb 4, 2024
39ad79b
Auto merge of #16485 - Young-Flash:minor, r=lnicola
bors Feb 4, 2024
33b3b6d
refactor: disable "unused" lint using parameter name
davidsemakula Feb 4, 2024
a607e1b
Use reserve_exact for pushing to Subtree
GnomedDev Feb 4, 2024
b45ee82
incorrect case diagnostics for param names of trait impl assoc functions
davidsemakula Feb 4, 2024
f0428e5
Simplify redundant coercion
ShoyuVanilla Feb 5, 2024
983cce8
Typo fix
ShoyuVanilla Feb 5, 2024
26715a8
cargo fmt
ShoyuVanilla Feb 5, 2024
ec3f7b5
Merge commit '0113bc9388b480fa42c632f57f4f0f7af5813ec1' into sync-fro…
lnicola Feb 5, 2024
4efdb47
Merge branch 'master' into sync-from-rust
lnicola Feb 5, 2024
06737ec
Auto merge of #16492 - lnicola:sync-from-rust, r=lnicola
bors Feb 5, 2024
081cf02
Auto merge of #16480 - GnomedDev:remove-unused-visit_ids, r=lnicola
bors Feb 5, 2024
3e47532
Auto merge of #16474 - davidbarsky:david/import-on-the-fly-improvemen…
bors Feb 5, 2024
7fb639f
Auto merge of #16482 - GnomedDev:boxed-subtree, r=lnicola
bors Feb 5, 2024
c495e3f
fix: emit parser error for missing argument list
Young-Flash Feb 5, 2024
864c3d5
test: add method_call_missing_argument_list error test
Young-Flash Feb 5, 2024
cb37fcc
Auto merge of #16493 - Young-Flash:method_call_parser, r=Veykril
bors Feb 5, 2024
53db37f
restrict cursor range to show assists
dfireBird Feb 5, 2024
66cec4d
Auto merge of #16470 - Veykril:clippy-disallow, r=lnicola
bors Feb 5, 2024
ac9d1a0
remove clones
matthiaskrgr Feb 5, 2024
c2d2124
Tweak `variant_id_for_adt`
Nadrieril Feb 6, 2024
ba7b12e
Update rustc_pattern_analysis dependency
Nadrieril Feb 6, 2024
d2d4119
Don't need an arena for types anymore
Nadrieril Feb 6, 2024
64411a4
Auto merge of #16496 - matthiaskrgr:c, r=lnicola
bors Feb 6, 2024
6671d3c
Auto merge of #16499 - Nadrieril:update-pat-ana, r=lnicola
bors Feb 6, 2024
32f0a2f
Run Clippy on Windows
lnicola Feb 6, 2024
0dd62c0
Auto merge of #16500 - lnicola:clippy-windows, r=lnicola
bors Feb 6, 2024
2c41528
Add lete to postfix completion list
lnicola Feb 6, 2024
1974e74
Auto merge of #16501 - lnicola:lete-snippet-docs, r=lnicola
bors Feb 6, 2024
62cc4f9
add unnecessary else diagnostic
davidsemakula Feb 6, 2024
d7a0302
handle divergence in child if expr for unnecessary else diagnostic fix
davidsemakula Feb 6, 2024
57a4542
inline_call: ensure correct whitespace in parameter types
evertedsphere Feb 2, 2024
51f20b4
Update mdbook to 0.4.37
ehuss Feb 7, 2024
159a03a
Move salsa fork in-tree
Veykril Feb 7, 2024
0a6197d
rustfmt
Veykril Feb 7, 2024
bc5823d
Bump salsa dev-deps
Veykril Feb 7, 2024
def5a1d
unreachable-pub
Veykril Feb 7, 2024
e339c65
Remove dev-dependency insta
Veykril Feb 7, 2024
731b159
Remove dev-dependency diff
Veykril Feb 7, 2024
3688064
Clippy
Veykril Feb 7, 2024
2d2ddd3
Auto merge of #16503 - Veykril:salsa, r=Veykril
bors Feb 7, 2024
97cd680
Optimize input queries that take no arguments
Veykril Feb 7, 2024
8628352
Auto merge of #16505 - Veykril:unit-salsa, r=Veykril
bors Feb 7, 2024
aa9bc01
Bump paths-filter
lnicola Feb 7, 2024
ca44e1e
Auto merge of #16506 - lnicola:bump-paths-filter, r=lnicola
bors Feb 7, 2024
79e4111
Remove `ffi_returns_twice` references
clubby789 Feb 7, 2024
c48f145
Auto merge of #16507 - clubby789:remove-ffi_returns_twice, r=lnicola
bors Feb 7, 2024
2b95b68
Suggest pattern tests when modifying exhaustiveness
Nadrieril Feb 8, 2024
81ea48a
fix: Fix tuple structs not rendering visibility in their fields
Veykril Feb 8, 2024
bcc8a09
Auto merge of #16509 - Veykril:hover-tuple-struct, r=Veykril
bors Feb 8, 2024
0258f60
feat: Allow cargo check to run on only the current package
Veykril Feb 8, 2024
ae89522
Auto merge of #16510 - Veykril:single-package-check, r=Veykril
bors Feb 8, 2024
e865d45
fix: Recover from missing argument in call expressions
ohno418 Dec 8, 2023
974e69b
Recover from missing slots in delimited parsing
Veykril Feb 8, 2024
5c80ad0
Auto merge of #16124 - ohno418:call-expr-missing-arg, r=Veykril
bors Feb 8, 2024
6655960
Auto merge of #16134 - tvallotton:master, r=Veykril
bors Feb 8, 2024
4bf6b16
Fix incorrect range uses in missing_fields quick fixes
Veykril Jan 31, 2024
91dab4d
Better error message for when proc-macros have not yet been built
Veykril Jan 31, 2024
545382d
Fix warnings
Veykril Feb 8, 2024
15bffe2
feat: Add break and return postfix keyword completions
Veykril Jan 30, 2024
ddf2611
Auto merge of #16462 - Veykril:proc-error, r=Veykril
bors Feb 8, 2024
ddddc9c
Update test outputs
Veykril Feb 8, 2024
82674e2
Auto merge of #16454 - Veykril:break-return-postfix, r=Veykril
bors Feb 8, 2024
e9d3565
Auto merge of #16502 - davidsemakula:unnecessary-else-diagnostic, r=V…
bors Feb 8, 2024
0e5766b
Auto merge of #16477 - davidsemakula:trait-incorrect-case-diagnostic,…
bors Feb 8, 2024
dad0fdb
fix: preserve where clause when builtin derive
Austaras Feb 4, 2024
5812b69
Auto merge of #16484 - Austaras:master, r=Veykril
bors Feb 8, 2024
e071834
Auto merge of #16487 - ShoyuVanilla:deref-generate-getter, r=Veykril
bors Feb 8, 2024
2987fac
diagnostic to remove trailing return
davidsemakula Jan 30, 2024
cad222f
remove trailing return in trailing if expression
davidsemakula Jan 31, 2024
98e6f43
remove trailing return in trailing match expression
davidsemakula Jan 31, 2024
a250c2d
refactor remove trailing return diagnostic
davidsemakula Jan 31, 2024
602acfc
fix conflicting "unnecessary else" and "trailing return" diagnostics …
davidsemakula Feb 8, 2024
bf6a1b1
Add test for broken_intra_doc_link.
ehuss Feb 8, 2024
e418c90
Auto merge of #16460 - davidsemakula:trailing-return-diagnostic, r=Ve…
bors Feb 8, 2024
6330b02
feature: Add a `UnindexedProject` notification and a corresponding se…
davidbarsky Nov 7, 2023
1370784
Auto merge of #15863 - davidbarsky:davidbarsky/start-of-monorepo-mode…
bors Feb 8, 2024
776590b
Switch linkchecker to use html5ever for html parsing.
ehuss Feb 8, 2024
8c0661b
Use `GenericArgList` for `make::impl{_trait}`
DropDemBits Dec 11, 2023
3924a0e
Add ast versions of `generate{_trait}_impl_text{_intransitive}`
DropDemBits Dec 11, 2023
0e39257
Migrate `extract_function` to mutable ast
DropDemBits Dec 11, 2023
039b3d0
Add `make::ext::expr_self`
DropDemBits Dec 14, 2023
0519414
Make `ReferenceConversion` methods return ast types
DropDemBits Dec 15, 2023
f1293a8
Add newline to body when where clause is present
DropDemBits Dec 15, 2023
ab2233e
Migrate `generate_getter_or_setter` to mutable ast
DropDemBits Dec 14, 2023
e011715
Migrate `generate_impl` to mutable ast
DropDemBits Dec 15, 2023
e28f551
Add `AssocItemList::add_item_at_start`
DropDemBits Dec 15, 2023
18ea09f
Migrate `generate_new` to mutable ast
DropDemBits Dec 15, 2023
8eebf17
Migrate `replace_derive_with_manual_impl` to mutable ast
DropDemBits Dec 15, 2023
1161082
Remove unused code in `utils`
DropDemBits Feb 1, 2024
05b8ccc
Fix clippy lints
DropDemBits Feb 1, 2024
57fda12
Auto merge of #16467 - DropDemBits:structured-snippet-migrate-6, r=Dr…
bors Feb 9, 2024
2d09d69
internal: fix crash inside `filter_unnecessary_bounds` for a missing …
davidbarsky Feb 9, 2024
d24bb7e
Auto merge of #16517 - davidbarsky:david/fix-panic-in-generation-func…
bors Feb 9, 2024
7669619
clippy: Enable `self_named_constructors` rule
tetsuharuohzeki Feb 9, 2024
2601d19
clippy: Enable `non_canonical_clone_impl` rule
tetsuharuohzeki Feb 9, 2024
1e4171b
clippy: Enable `non_canonical_partial_ord_impl` rule
tetsuharuohzeki Feb 9, 2024
65a6441
Auto merge of #16424 - dfireBird:let-stmt-guarded-return-assist, r=Ve…
bors Feb 9, 2024
cdc3e83
Auto merge of #16518 - tetsuharuohzeki:enable-some-minor-lints, r=Vey…
bors Feb 9, 2024
3365e50
clippy: Enable `forget_non_drop` rule
tetsuharuohzeki Feb 9, 2024
a3e60e7
clippy: Enable `needless_doctest_main` rule
tetsuharuohzeki Feb 9, 2024
adddd14
ide: Fix `cargo test -p ide --doc`
tetsuharuohzeki Feb 9, 2024
d45cabd
clippy: Enable `derived_hash_with_manual_eq` rule
tetsuharuohzeki Feb 9, 2024
c6637f3
clippy: Enable `borrowed_box` rule
tetsuharuohzeki Feb 9, 2024
bb0de88
Auto merge of #16519 - tetsuharuohzeki:more-lint, r=lnicola
bors Feb 9, 2024
8c2f301
ide: Fix warnings about clippy `str_to_string` rule
tetsuharuohzeki Feb 9, 2024
a9a315f
base-db: Fix warnings about clippy `str_to_string` rule
tetsuharuohzeki Feb 9, 2024
99f5d7c
hir-def: Fix warnings about clippy `str_to_string` rule
tetsuharuohzeki Feb 9, 2024
cb95ee3
hir-def: Fix warnings about clippy `str_to_string` rule
tetsuharuohzeki Feb 9, 2024
d580b2c
hir-ty: Fix warnings about clippy `str_to_string` rule
tetsuharuohzeki Feb 9, 2024
eba1b13
hir: Fix warnings about clippy `str_to_string` rule
tetsuharuohzeki Feb 9, 2024
d00f1c1
ide-diagnostics: Fix warnings about clippy `str_to_string` rule
tetsuharuohzeki Feb 9, 2024
5d1f283
project-model: Fix warnings about clippy `str_to_string` rule
tetsuharuohzeki Feb 9, 2024
b89a403
proc-macro-api: Fix warnings about clippy `str_to_string` rule
tetsuharuohzeki Feb 9, 2024
80e6842
ide-assists: Fix warnings about clippy `str_to_string` rule
tetsuharuohzeki Feb 9, 2024
395708d
rust-analyzer: Fix warnings about clippy `str_to_string` rule
tetsuharuohzeki Feb 9, 2024
f4a4b66
ide-completion: Fix warnings about clippy `str_to_string` rule
tetsuharuohzeki Feb 9, 2024
fb8c0f5
ide-db: Fix warnings about clippy `str_to_string` rule
tetsuharuohzeki Feb 9, 2024
ae78dca
ide-ssr: Fix warnings about clippy `str_to_string` rule
tetsuharuohzeki Feb 9, 2024
8071325
load-cargo: Fix warnings about clippy `str_to_string` rule
tetsuharuohzeki Feb 9, 2024
edda6b8
mbe: Fix warnings about clippy `str_to_string` rule
tetsuharuohzeki Feb 9, 2024
f474bd7
parser: Fix warnings about clippy `str_to_string` rule
tetsuharuohzeki Feb 9, 2024
81c35d1
syntax: Fix warnings about clippy `str_to_string` rule
tetsuharuohzeki Feb 9, 2024
cee3c22
vfs: Fix warnings about clippy `str_to_string` rule
tetsuharuohzeki Feb 9, 2024
283b140
salsa: Fix warnings about clippy `str_to_string` rule
tetsuharuohzeki Feb 9, 2024
06f3995
xtask: Fix warnings about clippy `str_to_string` rule
tetsuharuohzeki Feb 9, 2024
0a879f7
sourcegen: Fix warnings about clippy `str_to_string` rule
tetsuharuohzeki Feb 9, 2024
c3699b9
test-utils: Fix warnings about clippy `str_to_string` rule
tetsuharuohzeki Feb 9, 2024
bffb888
lsp-server: Fix warnings about clippy `str_to_string` rule
tetsuharuohzeki Feb 9, 2024
1915d9a
tt: Fix warnings about clippy `str_to_string` rule
tetsuharuohzeki Feb 9, 2024
a897566
test-fixture: Fix warnings about clippy `str_to_string` rule
tetsuharuohzeki Feb 9, 2024
88f088c
text-edit: Fix warnings about clippy `str_to_string` rule
tetsuharuohzeki Feb 9, 2024
71ea70e
clippy: Enable `str_to_string` rule
tetsuharuohzeki Feb 9, 2024
18be556
inline_call: remove macro self->this test
evertedsphere Feb 9, 2024
2ebf0c8
Deduplicate some code
Veykril Feb 10, 2024
7e92655
Auto merge of #16521 - tetsuharuohzeki:experiment-enable-str_to_strin…
bors Feb 10, 2024
aa97edb
Auto merge of #16497 - evertedsphere:swann/fix-inline-for-macro-gener…
bors Feb 10, 2024
dcdfc35
test that flip_trait_bound works with trait objects
evertedsphere Feb 10, 2024
00303c3
Abstract over ItemTreeLoc
Veykril Feb 10, 2024
1ef7a23
Auto merge of #16525 - Veykril:item-loc, r=Veykril
bors Feb 10, 2024
0878cde
Auto merge of #16524 - evertedsphere:swann/trait-bound-dyn, r=Veykril
bors Feb 10, 2024
74eb3ec
Move ChildbySource and HasSource impls to their corresponding modules
Veykril Feb 10, 2024
dc69255
Re-organize hir-def/lib.rs
Veykril Feb 10, 2024
36fb140
Cleanup visibility.rs
Veykril Feb 10, 2024
1c32387
Auto merge of #16526 - Veykril:item-loc, r=Veykril
bors Feb 10, 2024
5136705
internal: Remove SELF_REF hack for self referential SyntaxContexts
Veykril Feb 10, 2024
ddf105b
Auto merge of #16527 - Veykril:salsa-no-self-ref, r=Veykril
bors Feb 10, 2024
3ad94db
Remove myself from some review rotations
joshtriplett Feb 11, 2024
022af82
Merge commit 'ddf105b646c6749a2de2451c9a499a354eec79c2' into sync-fro…
lnicola Feb 11, 2024
f4e6818
Rollup merge of #117740 - majaha:format_docs, r=joshtriplett
matthiaskrgr Feb 11, 2024
1843dfd
Rollup merge of #118307 - scottmcm:tuple-eq-simpler, r=joshtriplett
matthiaskrgr Feb 11, 2024
a576e81
Rollup merge of #119242 - BenWiederhake:dev-from-nanos, r=joshtriplett
matthiaskrgr Feb 11, 2024
0c5d8d3
Rollup merge of #119449 - Nilstrieb:library-clippy, r=cuviper
matthiaskrgr Feb 11, 2024
ba405a4
Rollup merge of #120307 - djc:duration-constructors, r=Mark-Simulacrum
matthiaskrgr Feb 11, 2024
3a19807
Rollup merge of #120459 - rytheo:handle-conversion-docs, r=Mark-Simul…
matthiaskrgr Feb 11, 2024
9bbd146
Rollup merge of #120729 - ehuss:update-mdbook, r=Mark-Simulacrum
matthiaskrgr Feb 11, 2024
040ecbf
Rollup merge of #120763 - Nadrieril:suggest-patterns, r=Mark-Simulacrum
matthiaskrgr Feb 11, 2024
db79df7
Rollup merge of #120906 - joshtriplett:triage-my-bandwidth, r=Mark-Si…
matthiaskrgr Feb 11, 2024
3ac0872
Rollup merge of #120916 - lnicola:sync-from-ra, r=lnicola
matthiaskrgr Feb 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
97 changes: 81 additions & 16 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,21 @@ dependencies = [
"anstyle",
"anstyle-parse",
"anstyle-query",
"anstyle-wincon",
"anstyle-wincon 2.1.0",
"colorchoice",
"utf8parse",
]

[[package]]
name = "anstream"
version = "0.6.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6e2e1ebcb11de5c03c67de28a7df593d32191b44939c482e97702baaaa6ab6a5"
dependencies = [
"anstyle",
"anstyle-parse",
"anstyle-query",
"anstyle-wincon 3.0.2",
"colorchoice",
"utf8parse",
]
Expand Down Expand Up @@ -186,6 +200,16 @@ dependencies = [
"windows-sys 0.48.0",
]

[[package]]
name = "anstyle-wincon"
version = "3.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7"
dependencies = [
"anstyle",
"windows-sys 0.52.0",
]

[[package]]
name = "anyhow"
version = "1.0.75"
Expand Down Expand Up @@ -520,7 +544,7 @@ version = "4.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5179bb514e4d7c2051749d8fcefa2ed6d06a9f4e6d69faf3805f5d80b8cf8d56"
dependencies = [
"anstream",
"anstream 0.5.0",
"anstyle",
"clap_lex",
"strsim",
Expand Down Expand Up @@ -558,7 +582,7 @@ checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b"
name = "clippy"
version = "0.1.78"
dependencies = [
"anstream",
"anstream 0.5.0",
"clippy_config",
"clippy_lints",
"clippy_utils",
Expand Down Expand Up @@ -1234,6 +1258,16 @@ dependencies = [
"cfg-if",
]

[[package]]
name = "env_filter"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a009aa4810eb158359dda09d0c87378e4bbb89b5a801f016885a4707ba24f7ea"
dependencies = [
"log",
"regex",
]

[[package]]
name = "env_logger"
version = "0.10.0"
Expand All @@ -1247,6 +1281,19 @@ dependencies = [
"termcolor",
]

[[package]]
name = "env_logger"
version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "05e7cf40684ae96ade6232ed84582f40ce0a66efcd43a5117aef610534f8e0b8"
dependencies = [
"anstream 0.6.11",
"anstyle",
"env_filter",
"humantime",
"log",
]

[[package]]
name = "equivalent"
version = "1.0.0"
Expand Down Expand Up @@ -1638,9 +1685,9 @@ dependencies = [

[[package]]
name = "handlebars"
version = "4.3.7"
version = "5.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "83c3372087601b532857d332f5957cbae686da52bb7810bf038c3e3c3cc2fa0d"
checksum = "ab283476b99e66691dee3f1640fea91487a8d81f50fb5ecc75538f8f8879a1e4"
dependencies = [
"log",
"pest",
Expand Down Expand Up @@ -2227,6 +2274,7 @@ dependencies = [
name = "linkchecker"
version = "0.1.0"
dependencies = [
"html5ever",
"once_cell",
"regex",
]
Expand Down Expand Up @@ -2335,24 +2383,23 @@ dependencies = [

[[package]]
name = "mdbook"
version = "0.4.36"
version = "0.4.37"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "80992cb0e05f22cc052c99f8e883f1593b891014b96a8b4637fd274d7030c85e"
checksum = "0c33564061c3c640bed5ace7d6a2a1b65f2c64257d1ac930c15e94ed0fb561d3"
dependencies = [
"ammonia",
"anyhow",
"chrono",
"clap",
"clap_complete",
"elasticlunr-rs",
"env_logger",
"env_logger 0.11.1",
"handlebars",
"log",
"memchr",
"once_cell",
"opener",
"pathdiff",
"pulldown-cmark",
"pulldown-cmark 0.10.0",
"regex",
"serde",
"serde_json",
Expand Down Expand Up @@ -2471,7 +2518,7 @@ dependencies = [
"aes",
"colored",
"ctrlc",
"env_logger",
"env_logger 0.10.0",
"getrandom",
"jemalloc-sys",
"lazy_static",
Expand Down Expand Up @@ -2689,7 +2736,7 @@ dependencies = [
"camino",
"clap",
"derive_builder",
"env_logger",
"env_logger 0.10.0",
"fs_extra",
"glob",
"humansize",
Expand Down Expand Up @@ -3012,6 +3059,24 @@ dependencies = [
"unicase",
]

[[package]]
name = "pulldown-cmark"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dce76ce678ffc8e5675b22aa1405de0b7037e2fdf8913fea40d1926c6fe1e6e7"
dependencies = [
"bitflags 2.4.1",
"memchr",
"pulldown-cmark-escape",
"unicase",
]

[[package]]
name = "pulldown-cmark-escape"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d5d8f9aa0e3cbcfaf8bf00300004ee3b72f74770f9cbac93f6928771f613276b"

[[package]]
name = "punycode"
version = "0.4.1"
Expand Down Expand Up @@ -3271,7 +3336,7 @@ name = "rustbook"
version = "0.1.0"
dependencies = [
"clap",
"env_logger",
"env_logger 0.10.0",
"mdbook",
]

Expand Down Expand Up @@ -4427,7 +4492,7 @@ name = "rustc_resolve"
version = "0.0.0"
dependencies = [
"bitflags 2.4.1",
"pulldown-cmark",
"pulldown-cmark 0.9.6",
"rustc_arena",
"rustc_ast",
"rustc_ast_pretty",
Expand Down Expand Up @@ -4971,9 +5036,9 @@ checksum = "45bb67a18fa91266cc7807181f62f9178a6873bfad7dc788c42e6430db40184f"

[[package]]
name = "shlex"
version = "1.1.0"
version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3"
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"

[[package]]
name = "siphasher"
Expand Down
5 changes: 5 additions & 0 deletions library/alloc/src/fmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,10 @@
//! * `#X` - precedes the argument with a `0x`
//! * `#b` - precedes the argument with a `0b`
//! * `#o` - precedes the argument with a `0o`
//!
//! See [Formatting traits](#formatting-traits) for a description of what the `?`, `x`, `X`,
//! `b`, and `o` flags do.
//!
//! * `0` - This is used to indicate for integer formats that the padding to `width` should
//! both be done with a `0` character as well as be sign-aware. A format
//! like `{:08}` would yield `00000001` for the integer `1`, while the
Expand All @@ -197,6 +201,7 @@
//! and before the digits. When used together with the `#` flag, a similar
//! rule applies: padding zeros are inserted after the prefix but before
//! the digits. The prefix is included in the total width.
//! This flag overrides the [fill character and alignment flag](#fillalignment).
//!
//! ## Precision
//!
Expand Down
1 change: 1 addition & 0 deletions library/core/src/ffi/c_str.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ use crate::str;
// want `repr(transparent)` but we don't want it to show up in rustdoc, so we hide it under
// `cfg(doc)`. This is an ad-hoc implementation of attribute privacy.
#[cfg_attr(not(doc), repr(transparent))]
#[allow(clippy::derived_hash_with_manual_eq)]
pub struct CStr {
// FIXME: this should not be represented with a DST slice but rather with
// just a raw `c_char` along with some form of marker to make
Expand Down
2 changes: 2 additions & 0 deletions library/core/src/num/f32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ impl f32 {
/// and target platforms isn't guaranteed.
#[stable(feature = "assoc_int_consts", since = "1.43.0")]
#[rustc_diagnostic_item = "f32_nan"]
#[allow(clippy::eq_op)]
pub const NAN: f32 = 0.0_f32 / 0.0_f32;
/// Infinity (∞).
#[stable(feature = "assoc_int_consts", since = "1.43.0")]
Expand All @@ -483,6 +484,7 @@ impl f32 {
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_float_classify", issue = "72505")]
#[inline]
#[allow(clippy::eq_op)] // > if you intended to check if the operand is NaN, use `.is_nan()` instead :)
pub const fn is_nan(self) -> bool {
self != self
}
Expand Down
2 changes: 2 additions & 0 deletions library/core/src/num/f64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,7 @@ impl f64 {
/// and target platforms isn't guaranteed.
#[rustc_diagnostic_item = "f64_nan"]
#[stable(feature = "assoc_int_consts", since = "1.43.0")]
#[allow(clippy::eq_op)]
pub const NAN: f64 = 0.0_f64 / 0.0_f64;
/// Infinity (∞).
#[stable(feature = "assoc_int_consts", since = "1.43.0")]
Expand All @@ -482,6 +483,7 @@ impl f64 {
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_float_classify", issue = "72505")]
#[inline]
#[allow(clippy::eq_op)] // > if you intended to check if the operand is NaN, use `.is_nan()` instead :)
pub const fn is_nan(self) -> bool {
self != self
}
Expand Down
1 change: 1 addition & 0 deletions library/core/src/option.rs
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,7 @@ use crate::{
#[rustc_diagnostic_item = "Option"]
#[lang = "Option"]
#[stable(feature = "rust1", since = "1.0.0")]
#[allow(clippy::derived_hash_with_manual_eq)] // PartialEq is specialized
pub enum Option<T> {
/// No value.
#[lang = "None"]
Expand Down
2 changes: 2 additions & 0 deletions library/core/src/ptr/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,8 @@
//! [Stacked Borrows]: https://plv.mpi-sws.org/rustbelt/stacked-borrows/

#![stable(feature = "rust1", since = "1.0.0")]
// There are many unsafe functions taking pointers that don't dereference them.
#![allow(clippy::not_unsafe_ptr_arg_deref)]

use crate::cmp::Ordering;
use crate::fmt;
Expand Down
4 changes: 4 additions & 0 deletions library/core/src/sync/atomic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,10 @@
#![cfg_attr(not(target_has_atomic_load_store = "8"), allow(dead_code))]
#![cfg_attr(not(target_has_atomic_load_store = "8"), allow(unused_imports))]
#![rustc_diagnostic_item = "atomic_mod"]
// Clippy complains about the pattern of "safe function calling unsafe function taking pointers".
// This happens with AtomicPtr intrinsics but is fine, as the pointers clippy is concerned about
// are just normal values that get loaded/stored, but not dereferenced.
#![allow(clippy::not_unsafe_ptr_arg_deref)]

use self::Ordering::*;

Expand Down
Loading
Loading