]> git.lizzy.rs Git - rust.git/blob - tests/ui/span/transitive-dep-span.rs
Rollup merge of #106441 - mllken:abstract-socket-noref, r=joshtriplett
[rust.git] / tests / ui / span / transitive-dep-span.rs
1 // Tests that we properly serialize/deserialize spans from transitive dependencies
2 // (e.g. imported SourceFiles)
3 //
4 // The order of these next lines is important, since we need
5 // transitive_dep_two.rs to be able to reference transitive_dep_three.rs
6 //
7 // aux-build: transitive_dep_three.rs
8 // aux-build: transitive_dep_two.rs
9 // compile-flags: -Z macro-backtrace
10
11 extern crate transitive_dep_two;
12
13 transitive_dep_two::parse_error!(); //~ ERROR expected one of
14
15 fn main() {}