mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 16:45:37 +00:00
95 lines
264 B
Rust
95 lines
264 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() {}
|