diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-03-17 20:56:37 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-03-17 20:56:37 +0000 |
commit | daee133ba1276ced2d2fe53bd1b1cbfa4e2aac79 (patch) | |
tree | 6b42a73a8ba0a274200c1e8d5d0567fcc4116146 /crates/hir_def/src/nameres | |
parent | 9d691530d556bdc40262585383a1b18d3a1de07e (diff) | |
parent | 5f80364ede59d2507205246b383c25cb4dfb67ff (diff) |
Merge #8073
8073: Improve diagnostic when including nonexistent file r=jonas-schievink a=jonas-schievink
bors r+
Co-authored-by: Jonas Schievink <[email protected]>
Diffstat (limited to 'crates/hir_def/src/nameres')
-rw-r--r-- | crates/hir_def/src/nameres/tests/diagnostics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_def/src/nameres/tests/diagnostics.rs b/crates/hir_def/src/nameres/tests/diagnostics.rs index 6becd9ff1..a89061c2e 100644 --- a/crates/hir_def/src/nameres/tests/diagnostics.rs +++ b/crates/hir_def/src/nameres/tests/diagnostics.rs | |||
@@ -196,7 +196,7 @@ fn builtin_macro_fails_expansion() { | |||
196 | macro_rules! include { () => {} } | 196 | macro_rules! include { () => {} } |
197 | 197 | ||
198 | include!("doesntexist"); | 198 | include!("doesntexist"); |
199 | //^^^^^^^^^^^^^^^^^^^^^^^^ could not convert tokens | 199 | //^^^^^^^^^^^^^^^^^^^^^^^^ failed to load file `doesntexist` |
200 | "#, | 200 | "#, |
201 | ); | 201 | ); |
202 | } | 202 | } |