mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
95 lines
265 B
Rust
95 lines
265 B
Rust
//@ compile-flags: -Z ui-testing=no
|
|
|
|
// Line number < 10
|
|
type A = B; //~ ERROR
|
|
|
|
// Line number >=10, <100
|
|
type C = D; //~ ERROR
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Line num >=100
|
|
type E = F; //~ ERROR
|
|
|
|
fn main() {}
|