-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.F-slice_patterns`#![feature(slice_patterns)]``#![feature(slice_patterns)]`T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.Relevant to the infrastructure team, which will review and decide on the PR/issue.
Description
repo @ c318691
./x.py bench
error[E0432]: unresolved import `test`
--> librustc/benches/pattern.rs:11:5
|
11 | use test::Bencher;
| ^^^^ Did you mean `test::test`?
error[E0658]: syntax for subslices in slice patterns is not yet stabilized (see issue #23121)
--> librustc/benches/pattern.rs:31:20
|
31 | [1,2,3,..] => 10,
| ^^
|
= help: add #![feature(slice_patterns)] to the crate attributes to enable
error: aborting due to 2 previous errors
Some errors occurred: E0432, E0658.
For more information about an error, try `rustc --explain E0432`.
error: Could not compile `rustc`.
warning: build failed, waiting for other jobs to finish...
error[E0658]: syntax for subslices in slice patterns is not yet stabilized (see issue #23121)
--> librustc/benches/pattern.rs:31:20
|
31 | [1,2,3,..] => 10,
| ^^
|
= help: add #![feature(slice_patterns)] to the crate attributes to enable
error: aborting due to previous error
For more information about this error, try `rustc --explain E0658`.
error: Could not compile `rustc`.
warning: build failed, waiting for other jobs to finish...
error[E0432]: unresolved import `test`
--> librustc/benches/dispatch.rs:11:5
|
11 | use test::Bencher;
| ^^^^ Did you mean `test::test`?
error: trait objects without an explicit `dyn` are deprecated
--> librustc/benches/dispatch.rs:32:20
|
32 | let t = &s as &Trait;
| ^^^^^ help: use `dyn`: `dyn Trait`
|
= note: requested on the command line with `-D bare-trait-objects`
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0432`.
error: Could not compile `rustc`.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.F-slice_patterns`#![feature(slice_patterns)]``#![feature(slice_patterns)]`T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.Relevant to the infrastructure team, which will review and decide on the PR/issue.