mirror of https://github.com/rust-lang/rust
8 lines
292 B
Rust
8 lines
292 B
Rust
#![crate_name = "foo"]
|
|
|
|
// Querying about the crate metadata should *not* parse the entire crate, it
|
|
// only needs the crate attributes (which are guaranteed to be at the top) be
|
|
// sure that if we have an error like a missing module that we can still query
|
|
// about the crate id.
|
|
mod error;
|