diff options
author | Lukas Wirth <[email protected]> | 2020-12-08 12:47:58 +0000 |
---|---|---|
committer | Lukas Wirth <[email protected]> | 2020-12-08 12:47:58 +0000 |
commit | 2facd9517f0c58430514b9e4aa41f5996c994747 (patch) | |
tree | 38b6790b6e7c422a8989f158a2f1b80ee1e1dc81 /crates/hir_def/src/nameres/tests/mod_resolution.rs | |
parent | 7a338e520729d5198fb233c6d94d33f1ae365b24 (diff) |
Escape string literals in Attr::from_src
Diffstat (limited to 'crates/hir_def/src/nameres/tests/mod_resolution.rs')
-rw-r--r-- | crates/hir_def/src/nameres/tests/mod_resolution.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_def/src/nameres/tests/mod_resolution.rs b/crates/hir_def/src/nameres/tests/mod_resolution.rs index ef6f85e15..e80b593aa 100644 --- a/crates/hir_def/src/nameres/tests/mod_resolution.rs +++ b/crates/hir_def/src/nameres/tests/mod_resolution.rs | |||
@@ -372,7 +372,7 @@ fn module_resolution_explicit_path_mod_rs_with_win_separator() { | |||
372 | check( | 372 | check( |
373 | r#" | 373 | r#" |
374 | //- /main.rs | 374 | //- /main.rs |
375 | #[path = "module\bar\mod.rs"] | 375 | #[path = r"module\bar\mod.rs"] |
376 | mod foo; | 376 | mod foo; |
377 | 377 | ||
378 | //- /module/bar/mod.rs | 378 | //- /module/bar/mod.rs |