[red-knot] Remove global dead_code from red-knot-server (#17229)

## Summary

Use more local `expect(dead_code)` suppressions instead of a global
`allow(dead_code)` in `lib.rs`.

Remove some methods that are either easy to add later, are less likely
to be needed for red knot, or it's unclear if we'd add it the same way
as in ruff.
This commit is contained in:
Micha Reiser 2025-04-06 23:09:24 +02:00 committed by GitHub
parent e01d228a71
commit 67f8c30b53
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 14 additions and 37 deletions

View file

@ -1,5 +1,3 @@
#![allow(dead_code)]
use crate::server::Server;
use anyhow::Context;
pub use document::{DocumentKey, NotebookDocument, PositionEncoding, TextDocument};