about summary refs log tree commit diff
path: root/compiler/rustc_session
diff options
context:
space:
mode:
authorGeorge-lewis <george-lewis@user.noreply.github.com>2024-01-10 01:33:53 -0500
committerGeorge-lewis <george-lewis@user.noreply.github.com>2024-01-13 12:11:13 -0500
commit9f327a23852337b05ca39420f042b8d026713d1b (patch)
tree412c959dd344d85bfeb02e724f6cadd049a9f988 /compiler/rustc_session
parent36a69e9d39b3dd49fefa2f84b2787a50230e0a32 (diff)
downloadrust-9f327a23852337b05ca39420f042b8d026713d1b.tar.gz
rust-9f327a23852337b05ca39420f042b8d026713d1b.zip
Add todo comment
Diffstat (limited to 'compiler/rustc_session')
-rw-r--r--compiler/rustc_session/src/parse.rs1
1 files changed, 1 insertions, 0 deletions
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 @@ impl SymbolGallery {
     }
 }
 
+// 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]