Closed
Description
Compiling Rust 1.33 with Rust 1.32 on Fedora 29 was fine.
When using the newly created 1.33 compiler to compile Rust 1.33 again, it fails:
..
Generating unstable book md files (i686-unknown-linux-gnu)
Building stage0 tool unstable-book-gen (i686-unknown-linux-gnu)
Compiling proc-macro2 v0.4.24
Compiling unicode-xid v0.1.0
Compiling serde v1.0.82
Compiling ryu v0.2.7
Compiling itoa v0.4.3
Compiling num-traits v0.2.6
Compiling quote v0.6.10
Compiling syn v0.15.22
Compiling serde_json v1.0.33
Compiling serde_derive v1.0.81
Compiling tidy v0.1.0 (/datastore/rpmbuild/BUILD/rustc-1.33.0-src/src/tools/tidy)
error: use of deprecated item 'core::str::<impl str>::trim_left_matches': superseded by `trim_start_matches`
--> src/tools/tidy/src/features.rs:191:61
|
191 | let level = match parts.next().map(|l| l.trim().trim_left_matches('(')) {
| ^^^^^^^^^^^^^^^^^
|
= note: `-D deprecated` implied by `-D warnings`
error: aborting due to previous error
error: Could not compile `tidy`.
The code in question has been fixed by
b7f030e#diff-e7f0adcf2688b6a55b1f70d117ed7e17
but I don't know why that fix never made it into the official 1.33 release.
Related issue: #57262
Metadata
Metadata
Assignees
Labels
No labels