mirror of https://github.com/astral-sh/ruff
Fix release build warning about unused todo type message (#16102)
This commit is contained in:
parent
7b487d853a
commit
ce31c2693b
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue