Fix release build warning about unused todo type message (#16102)

This commit is contained in:
Micha Reiser 2025-02-11 18:38:41 +00:00 committed by GitHub
parent 7b487d853a
commit ce31c2693b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -40,6 +40,7 @@ impl<'db> Symbol<'db> {
/// Constructor that creates a [`Symbol`] with a [`crate::types::TodoType`] type
/// and boundness [`Boundness::Bound`].
#[allow(unused_variables)]
pub(crate) fn todo(message: &'static str) -> Self {
Symbol::Type(todo_type!(message), Boundness::Bound)
}