Skip to content

Rollup of 10 pull requests #133893

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 35 commits into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
a3175a3
Update books
rustbot Dec 2, 2024
9d1f790
Add warn-by-default lint against unpredictable fn pointer comparisons
Urgau Nov 9, 2023
5e34c2e
Drop uplifted `clippy::fn_address_comparisons`
Urgau Dec 10, 2023
8ce6357
Allow fn pointers comparisons lint in UI tests
Urgau Dec 10, 2023
7b06fcf
Allow fn pointers comparisons lint in library
Urgau Dec 12, 2023
f613636
Rename `core_pattern_type` and `core_pattern_types` lib feature gate…
oli-obk Dec 4, 2024
1b449e1
Do not emit empty suggestion
estebank Dec 4, 2024
05c34cc
Fix suggestion when shorthand self has erroneous type
compiler-errors Mar 8, 2024
c620505
On `const` pattern errors, point at the `const` item definition
estebank Nov 20, 2024
cc492ed
Tweak unevaluated constant in pattern error
estebank Nov 20, 2024
c0f0008
Tweak ptr in pattern error
estebank Nov 20, 2024
87ddc1e
Point at generic param through which a const is used in a pattern
estebank Nov 20, 2024
253eb95
Tweak output of some const pattern errors
estebank Nov 20, 2024
a6040bc
Specify type kind of constant that can't be used in patterns
estebank Nov 20, 2024
fb2f6a4
Reword message for non-structural type constant in pattern
estebank Nov 20, 2024
335d05a
Add additional context for non-sructural type constant used in pattern
estebank Nov 20, 2024
27a1880
Add context to fall-through "const pattern of non-structural type" error
estebank Nov 20, 2024
d136b31
Add more context to fall-through "const pattern of non-structural typ…
estebank Nov 20, 2024
da58406
fix test
estebank Nov 20, 2024
81291ec
No need to create placeholders for GAT args in confirm_object_candidate
compiler-errors Dec 4, 2024
4e6a401
review comments: reword messages and simplify logic
estebank Dec 4, 2024
03aec5d
fn_sig_for_fn_abi should return a ty::FnSig, no need for a binder
compiler-errors Nov 16, 2024
1c14127
Update edition-guide and reference
ehuss Dec 4, 2024
892d585
Add a new test ui/incoherent-inherent-impls/no-other-unrelated-errors…
kei519 Dec 5, 2024
5b75493
Revert "Rollup merge of #133817 - clubby789:bootstrap-eprintln, r=jie…
jieyouxu Dec 5, 2024
35ea48d
Rollup merge of #118833 - Urgau:lint_function_pointer_comparisons, r=…
fmease Dec 5, 2024
bc13c82
Rollup merge of #122161 - compiler-errors:shorthand-self, r=fmease
fmease Dec 5, 2024
626db06
Rollup merge of #133233 - estebank:const-errors, r=Nadrieril
fmease Dec 5, 2024
d692b1f
Rollup merge of #133761 - rustbot:docs-update, r=ehuss
fmease Dec 5, 2024
ab16eeb
Rollup merge of #133843 - estebank:empty-semi-sugg, r=jieyouxu
fmease Dec 5, 2024
44174d9
Rollup merge of #133863 - oli-obk:push-pystoxvtvssx, r=lqd
fmease Dec 5, 2024
3a01e40
Rollup merge of #133872 - compiler-errors:simplify-gat-check, r=oli-obk
fmease Dec 5, 2024
4f99d6c
Rollup merge of #133874 - compiler-errors:fn-sig-binder, r=oli-obk
fmease Dec 5, 2024
37c6b55
Rollup merge of #133890 - kei519:fix-125814, r=compiler-errors
fmease Dec 5, 2024
1f1dfd5
Rollup merge of #133892 - jieyouxu:revert-eprintln, r=jieyouxu
fmease Dec 5, 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
2 changes: 1 addition & 1 deletion src/doc/book
Submodule book updated 71 files
+3 −3 listings/ch04-understanding-ownership/listing-04-03/src/main.rs
+1 −1 listings/ch20-advanced-features/listing-20-08/src/main.rs
+4 −2 listings/ch20-advanced-features/listing-20-09/src/main.rs
+2 −13 listings/ch20-advanced-features/listing-20-10/src/main.rs
+0 −0 listings/ch20-advanced-features/listing-20-11/output.txt
+13 −6 listings/ch20-advanced-features/listing-20-11/src/main.rs
+1 −1 listings/ch20-advanced-features/listing-20-12/Cargo.lock
+1 −1 listings/ch20-advanced-features/listing-20-12/Cargo.toml
+0 −5 listings/ch20-advanced-features/listing-20-12/src/lib.rs
+9 −0 listings/ch20-advanced-features/listing-20-12/src/main.rs
+4 −2 listings/ch20-advanced-features/listing-20-13/src/lib.rs
+3 −0 listings/ch20-advanced-features/listing-20-14/src/lib.rs
+0 −0 listings/ch20-advanced-features/listing-20-15/src/main.rs
+0 −0 listings/ch20-advanced-features/listing-20-16/src/lib.rs
+0 −31 listings/ch20-advanced-features/listing-20-16/src/main.rs
+3 −6 listings/ch20-advanced-features/listing-20-17/src/main.rs
+0 −2 listings/ch20-advanced-features/listing-20-18/src/main.rs
+4 −2 listings/ch20-advanced-features/listing-20-19/output.txt
+25 −10 listings/ch20-advanced-features/listing-20-19/src/main.rs
+3 −16 listings/ch20-advanced-features/listing-20-20/output.txt
+1 −3 listings/ch20-advanced-features/listing-20-20/src/main.rs
+16 −3 listings/ch20-advanced-features/listing-20-21/output.txt
+1 −1 listings/ch20-advanced-features/listing-20-21/src/main.rs
+2 −4 listings/ch20-advanced-features/listing-20-22/output.txt
+19 −13 listings/ch20-advanced-features/listing-20-22/src/main.rs
+12 −9 listings/ch20-advanced-features/listing-20-23/src/main.rs
+1 −1 listings/ch20-advanced-features/listing-20-24/Cargo.lock
+1 −1 listings/ch20-advanced-features/listing-20-24/Cargo.toml
+10 −12 listings/ch20-advanced-features/listing-20-24/src/main.rs
+3 −5 listings/ch20-advanced-features/listing-20-25/src/main.rs
+1 −1 listings/ch20-advanced-features/listing-20-26/Cargo.lock
+1 −1 listings/ch20-advanced-features/listing-20-26/Cargo.toml
+18 −0 listings/ch20-advanced-features/listing-20-26/src/main.rs
+1 −1 listings/ch20-advanced-features/listing-20-28/Cargo.lock
+1 −1 listings/ch20-advanced-features/listing-20-28/Cargo.toml
+0 −0 listings/ch20-advanced-features/listing-20-28/src/main.rs
+6 −0 listings/ch20-advanced-features/listing-20-29/Cargo.lock
+6 −0 listings/ch20-advanced-features/listing-20-29/Cargo.toml
+0 −0 listings/ch20-advanced-features/listing-20-29/src/lib.rs
+0 −0 listings/ch20-advanced-features/listing-20-31/Cargo.lock
+0 −0 listings/ch20-advanced-features/listing-20-31/Cargo.toml
+0 −0 listings/ch20-advanced-features/listing-20-31/src/main.rs
+0 −0 listings/ch20-advanced-features/listing-20-32/hello_macro/Cargo.lock
+0 −0 listings/ch20-advanced-features/listing-20-32/hello_macro/Cargo.toml
+0 −0 listings/ch20-advanced-features/listing-20-32/hello_macro/hello_macro_derive/Cargo.lock
+0 −0 listings/ch20-advanced-features/listing-20-32/hello_macro/hello_macro_derive/Cargo.toml
+0 −0 listings/ch20-advanced-features/listing-20-32/hello_macro/hello_macro_derive/src/lib.rs
+0 −0 listings/ch20-advanced-features/listing-20-32/hello_macro/src/lib.rs
+0 −0 listings/ch20-advanced-features/listing-20-32/hello_macro/src/main.rs
+0 −0 listings/ch20-advanced-features/listing-20-34/hello_macro/Cargo.lock
+0 −0 listings/ch20-advanced-features/listing-20-34/hello_macro/Cargo.toml
+0 −0 listings/ch20-advanced-features/listing-20-34/hello_macro/hello_macro_derive/Cargo.lock
+0 −0 listings/ch20-advanced-features/listing-20-34/hello_macro/hello_macro_derive/Cargo.toml
+0 −0 listings/ch20-advanced-features/listing-20-34/hello_macro/hello_macro_derive/src/lib.rs
+0 −0 listings/ch20-advanced-features/listing-20-34/hello_macro/src/lib.rs
+0 −0 listings/ch20-advanced-features/listing-20-34/hello_macro/src/main.rs
+9 −0 src/ch01-01-installation.md
+1 −2 src/ch03-02-data-types.md
+2 −2 src/ch06-03-if-let.md
+2 −2 src/ch08-02-strings.md
+6 −1 src/ch11-02-running-tests.md
+8 −8 src/ch12-05-working-with-environment-variables.md
+6 −7 src/ch17-04-streams.md
+7 −7 src/ch17-05-traits-for-async.md
+7 −7 src/ch19-01-all-the-places-for-patterns.md
+7 −7 src/ch19-03-pattern-syntax.md
+49 −27 src/ch20-01-unsafe-rust.md
+44 −44 src/ch20-03-advanced-traits.md
+12 −12 src/ch20-04-advanced-types.md
+3 −3 src/ch20-05-advanced-functions-and-closures.md
+24 −24 src/ch20-06-macros.md
2 changes: 1 addition & 1 deletion src/doc/edition-guide