summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/mod-resolver/module-not-found/bad_path_attribute/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rustfmt/tests/mod-resolver/module-not-found/bad_path_attribute/lib.rs')
-rw-r--r--src/tools/rustfmt/tests/mod-resolver/module-not-found/bad_path_attribute/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/mod-resolver/module-not-found/bad_path_attribute/lib.rs b/src/tools/rustfmt/tests/mod-resolver/module-not-found/bad_path_attribute/lib.rs
new file mode 100644
index 000000000..2a63c961b
--- /dev/null
+++ b/src/tools/rustfmt/tests/mod-resolver/module-not-found/bad_path_attribute/lib.rs
@@ -0,0 +1,3 @@
+// module resolution fails because the path does not exist.
+#[path = "path/to/does_not_exist.rs"]
+mod a;