Merge pull request #20664 from ChayimFriedman2/coerce-ns
Some checks are pending
metrics / other_metrics (hyper-0.14.18) (push) Blocked by required conditions
metrics / build_metrics (push) Waiting to run
metrics / other_metrics (diesel-1.4.8) (push) Blocked by required conditions
metrics / other_metrics (ripgrep-13.0.0) (push) Blocked by required conditions
metrics / other_metrics (self) (push) Blocked by required conditions
metrics / other_metrics (webrender-2022) (push) Blocked by required conditions
metrics / generate_final_metrics (push) Blocked by required conditions
rustdoc / rustdoc (push) Waiting to run

fix: Port a bunch of stuff from rustc and fix a bunch of type mismatches/diagnostics
This commit is contained in:
Chayim Refael Friedman 2025-09-18 00:19:30 +00:00 committed by GitHub
commit cd31e11f94
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
84 changed files with 9412 additions and 3998 deletions

View file

@ -1501,7 +1501,9 @@ fn main() {
bar.$0
}
"#,
expect![[r#""#]],
expect![[r#"
me foo() fn(self: Bar)
"#]],
);
}

View file

@ -2011,7 +2011,7 @@ fn main() {
en Enum Enum
fn function() fn()
fn main() fn()
lc variable &'static str
lc variable &str
ma helper!() macro_rules! helper
ma m!() macro_rules! m
ma makro!() macro_rules! makro
@ -2486,6 +2486,7 @@ fn bar() {
md rust_2024 (use core::prelude::rust_2024)
tt Clone
tt Copy
tt FromIterator
tt IntoIterator
tt Iterator
ta Result (use core::fmt::Result)