rust/tests/ui/utf8_idents.rs

17 lines
180 B
Rust
Raw Normal View History

//@ check-pass
2021-04-03 02:35:11 +00:00
//
#![allow(mixed_script_confusables, non_camel_case_types)]
fn foo<
2021-04-03 02:35:11 +00:00
'β,
γ
>() {}
struct X {
2021-04-03 02:35:11 +00:00
δ: usize
}
pub fn main() {
2021-04-03 02:35:11 +00:00
let α = 0.00001f64;
}