1b28f5aa66
Use a structured suggestion and tighten the span to just the identifier.
16 lines
379 B
Rust
16 lines
379 B
Rust
//
|
||
|
||
fn foo<
|
||
'β, //~ ERROR non-ascii idents are not fully supported
|
||
γ //~ ERROR non-ascii idents are not fully supported
|
||
//~^ WARN type parameter `γ` should have a camel case name
|
||
>() {}
|
||
|
||
struct X {
|
||
δ: usize //~ ERROR non-ascii idents are not fully supported
|
||
}
|
||
|
||
pub fn main() {
|
||
let α = 0.00001f64; //~ ERROR non-ascii idents are not fully supported
|
||
}
|