mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +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() {}
|