summaryrefslogtreecommitdiffstats
path: root/tests/run-make/crate-data-smoke/crate.rs
blob: a48a6f51c423466c7018c7af294cb19bdcf1b246 (plain)
1
2
3
4
5
6
7
#![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;