mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 03:25:55 +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() {}
|