diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2021-04-18 14:27:04 +0200 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2021-09-10 20:17:33 +0200 |
| commit | 00485e0c0e8dcd64c57a86d706beb62054921253 (patch) | |
| tree | d5920e5354a86ea0180d39f7068029f0a33bc296 /compiler/rustc_resolve/src | |
| parent | 06f7ca307d7ffdbdafe05eb76cc850eaf716916d (diff) | |
| download | rust-00485e0c0e8dcd64c57a86d706beb62054921253.tar.gz rust-00485e0c0e8dcd64c57a86d706beb62054921253.zip | |
Keep a parent LocalDefId in SpanData.
Diffstat (limited to 'compiler/rustc_resolve/src')
| -rw-r--r-- | compiler/rustc_resolve/src/late/diagnostics.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_resolve/src/late/diagnostics.rs b/compiler/rustc_resolve/src/late/diagnostics.rs index b2c0c787465..a11d7a69c54 100644 --- a/compiler/rustc_resolve/src/late/diagnostics.rs +++ b/compiler/rustc_resolve/src/late/diagnostics.rs @@ -768,6 +768,7 @@ impl<'a: 'ast, 'ast> LateResolutionVisitor<'a, '_, 'ast> { args[1].span.lo(), args.last().unwrap().span.hi(), call_span.ctxt(), + None, )) } else { None |
