From 9f327a23852337b05ca39420f042b8d026713d1b Mon Sep 17 00:00:00 2001 From: George-lewis Date: Wed, 10 Jan 2024 01:33:53 -0500 Subject: [PATCH] Add todo comment --- compiler/rustc_session/src/parse.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/rustc_session/src/parse.rs b/compiler/rustc_session/src/parse.rs index d4f58cceb2f..c629c9884c8 100644 --- a/compiler/rustc_session/src/parse.rs +++ b/compiler/rustc_session/src/parse.rs @@ -77,6 +77,7 @@ pub fn insert(&self, symbol: Symbol, span: Span) { } } +// todo: this function now accepts `Session` instead of `ParseSess` and should be relocated /// Construct a diagnostic for a language feature error due to the given `span`. /// The `feature`'s `Symbol` is the one you used in `unstable.rs` and `rustc_span::symbols`. #[track_caller]