-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
C-highTechnical complexity: HighTechnical complexity: HighK-bugKind: BugKind: BugP-highPriority: HighPriority: HighS-in-progressStatus: In progressStatus: In progress
Description
The following code
//@ check-pass
#![cfg(false)]
trait Foo {}
impl Foo for (use<Self>) {}
fn main(x: impl AsRef<str>) {
let _: () = foo(Lt::<'static>::None);
}Compiled successfully ( with --crate-type=lib --cap-lints=warn ):
However rasur was found to have errors (-e 2015):
error: found `use` but expected type
--> ./2025_12_29__22_59_36/52989afeed5c5d1e752743e9c7a1231e5c7c9f28.rs:6:15
|
6 | impl Foo for (use<Self>) {}
| ^^^ unexpected token
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-highTechnical complexity: HighTechnical complexity: HighK-bugKind: BugKind: BugP-highPriority: HighPriority: HighS-in-progressStatus: In progressStatus: In progress