Add todo comment

This commit is contained in:
George-lewis 2024-01-10 01:33:53 -05:00
parent 36a69e9d39
commit 9f327a2385

View File

@ -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`. /// 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`. /// The `feature`'s `Symbol` is the one you used in `unstable.rs` and `rustc_span::symbols`.
#[track_caller] #[track_caller]