[red-knot] Fix dead-code clippy warning (#17291)

## Summary

Failed run on main:
1432681231
This commit is contained in:
David Peter 2025-04-08 08:56:59 +02:00 committed by GitHub
parent 60f2e67454
commit a388c73752
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,6 +21,7 @@ pub(in crate::server) enum BackgroundSchedule {
Fmt,
/// The task should be run on the general high-priority background
/// thread. Reserved for actions caused by the user typing (e.g.syntax highlighting).
#[expect(dead_code)]
LatencySensitive,
/// The task should be run on a regular-priority background thread.
/// The default for any request that isn't in the critical path of the user typing.