diff options
Diffstat (limited to 'src/test/run-make-fulldeps/crate-data-smoke/crate.rs')
-rw-r--r-- | src/test/run-make-fulldeps/crate-data-smoke/crate.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/run-make-fulldeps/crate-data-smoke/crate.rs b/src/test/run-make-fulldeps/crate-data-smoke/crate.rs new file mode 100644 index 000000000..a48a6f51c --- /dev/null +++ b/src/test/run-make-fulldeps/crate-data-smoke/crate.rs @@ -0,0 +1,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; |