diff options
Diffstat (limited to 'compiler/rustc_ast_lowering/src')
| -rw-r--r-- | compiler/rustc_ast_lowering/src/path.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_ast_lowering/src/path.rs b/compiler/rustc_ast_lowering/src/path.rs index fe9f1fb20f0..55173c6f869 100644 --- a/compiler/rustc_ast_lowering/src/path.rs +++ b/compiler/rustc_ast_lowering/src/path.rs @@ -336,6 +336,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> { insertion_sp, suggestion, ); + err.note("assuming a `'static` lifetime..."); err.emit(); } AnonymousLifetimeMode::PassThrough | AnonymousLifetimeMode::ReportError => { |
