rust/tests/run-make-fulldeps/crate-data-smoke/crate.rs
2023-01-11 09:32:08 +00:00

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;