mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +00:00
433da1fc04
They pass fine.
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;
|