mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 14:21:53 +00:00
Revert "Upgrade to Rust 1.82 toolchain" (#13810)
This commit is contained in:
parent
ff72055558
commit
6d7da7bdbe
11 changed files with 51 additions and 55 deletions
|
@ -1,7 +1,6 @@
|
|||
//! Scheduling, I/O, and API endpoints.
|
||||
|
||||
use std::num::NonZeroUsize;
|
||||
#[allow(deprecated)]
|
||||
use std::panic::PanicInfo;
|
||||
|
||||
use lsp_server::Message;
|
||||
|
@ -120,7 +119,6 @@ impl Server {
|
|||
}
|
||||
|
||||
pub(crate) fn run(self) -> crate::Result<()> {
|
||||
#[allow(deprecated)]
|
||||
type PanicHook = Box<dyn Fn(&PanicInfo<'_>) + 'static + Sync + Send>;
|
||||
struct RestorePanicHook {
|
||||
hook: Option<PanicHook>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue