-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Rollup of 19 pull requests #35462
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Rollup of 19 pull requests #35462
Conversation
Function errno_location() is not used on DragonFly. As warnings are errors, this breaks the build.
Fixes rust-lang#35251 Also changes the span of the error to the span of the type as suggested in the bonus section of rust-lang#35251
Updates compiler error E0046 with new format Addresses rust-lang#35209 as part of rust-lang#35233. r? @jonathandturner I've repeated the following in my code. If this is something not desirable then let me know if there's any process to make this any cleaner. Thank you. ```rust missing_items.iter() .map(|name| name.to_string()) .collect::<Vec<_>>().join("`, `")) ```
Updates compiler error E0040 with new format Addresses rust-lang#35208 as part of rust-lang#35233. r? @GuillaumeGomez
Updated error message E0252 Fixes rust-lang#35306 as part of rust-lang#35233. r? @GuillaumeGomez
Updated error message E0282 Fixes rust-lang#35312 as part of rust-lang#35233. r? @GuillaumeGomez
Update error format rust-lang#35304 Fixes rust-lang#35304 as part of rust-lang#35233. r? @jonathandturner
…Gomez Update E0206 message to new format Part of rust-lang#35233. Fixes rust-lang#35301. r? @GuillaumeGomez
…andturner Update compiler error 0027 to use new error format. Part of rust-lang#35233, Addresses rust-lang#35200 r? @jonathandturner
…andturner Update E0223 to the new format Part of rust-lang#35233. Fixes rust-lang#35387. r? @jonathandturner
Update E0220 message to new format Part of rust-lang#35233 . Fixes rust-lang#35385. r? @jonathandturner Should it keep E0191?
…andturner Update compiler error 0029 to use new error format. Part of rust-lang#35233, Addresses rust-lang#35201 r? @jonathandturner
E0131 updated to new format Changes ``` error[E0131]: main function is not allowed to have type parameters --> src/test/compile-fail/E0131.rs:11:1 | 11 | fn main<T>() { //~ ERROR E0131 | ^ ``` to ``` error[E0131]: main function is not allowed to have type parameters --> src/test/compile-fail/E0131.rs:11:1 | 11 | fn main<T>() { //~ ERROR E0131 | ^^^ main cannot have type parameters ``` Fixes rust-lang#35257. Part of rust-lang#35233. r? @jonathandturner
Update error message for E0243 and E0244 Fixes rust-lang#35389 and rust-lang#35390 as part of rust-lang#35233. r? @jonathandturner
…t, r=jonathandturner Updated E0225 to new format. Part of rust-lang#35233. Fixes rust-lang#35388. r? @jonathandturner
…l422 Indicate tracking issue for `exact_size_is_empty` unstability. rust-lang#35428
…-location, r=alexcrichton Fix build on DragonFly (unused function errno_location) Function errno_location() is not used on DragonFly. As warnings are errors, this breaks the build.
…=jonathandturner Fixing compiler error E0121 Fixes rust-lang#35254 and part of rust-lang#35233
Add doc example for `std::ffi::NulError::into_vec`. None
New error message format for E0117 and E0118 Part of rust-lang#35233 r? @jonathandturner
Update E0204 to the new error format Part of rust-lang#35233 Addresses rust-lang#35381 "r? @jonathandturner
r? @arielb1 (rust_highfive has picked a reviewer for you, use r? to override) |
@bors r+ p=1 |
📌 Commit 1703f87 has been approved by |
A local build of this PR had some test failures:
|
@bors r- |
I believe the failures in |
@TimNN - thanks for the catch. |
The |
|
Closing so I can reroll now that there are new PRs |
exact_size_is_empty
unstability. #35429, Fix build on DragonFly (unused function errno_location) #35433, Fixing compiler error E0121 #35434, Add doc example forstd::ffi::NulError::into_vec
. #35436, New error message format for E0117 and E0118 #35454, Update E0204 to the new error format #35455