-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
C-lowTechnical complexity: LowTechnical complexity: LowC-socialComplexity: Social in natureComplexity: Social in natureK-upstream-bugKind: A bug in rustc or in the Rust language.Kind: A bug in rustc or in the Rust language.P-mediumPriority: MediumPriority: MediumS-actionableStatus: ActionableStatus: Actionable
Description
probably minor
The following code
#![feature(extern_types)]
fn main() {}
#[cfg(false)]
extern "C" {
type A<T: Ord> where where T: 'static;
}Compiled successfully ( with --crate-type=lib --cap-lints=warn):
warning: function `main` is never used
--> ./a.rs:2:4
|
2 | fn main() {}
| ^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: 1 warning emitted
However rasur was found to have errors (-e 2015):
error: found `where` but expected `;`
--> ./a.rs:5:26
|
5 | type A<T: Ord> where where T: 'static;
| ^^^^^ unexpected token
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-lowTechnical complexity: LowTechnical complexity: LowC-socialComplexity: Social in natureComplexity: Social in natureK-upstream-bugKind: A bug in rustc or in the Rust language.Kind: A bug in rustc or in the Rust language.P-mediumPriority: MediumPriority: MediumS-actionableStatus: ActionableStatus: Actionable