Unverified Commit acd5d5ed authored by Matt Mastracci's avatar Matt Mastracci Committed by GitHub

Turbopack: [chore] Fix Rust check warnings (#88871)

# What?

Fix some unimportant `check` warnings that appear as noise in the build logs.
parent 4095107f
...@@ -158,7 +158,7 @@ pub struct NapiNextTurbopackCallbacks { ...@@ -158,7 +158,7 @@ pub struct NapiNextTurbopackCallbacks {
throw_turbopack_internal_error: ThreadsafeFunction<TurbopackInternalErrorOpts>, throw_turbopack_internal_error: ThreadsafeFunction<TurbopackInternalErrorOpts>,
} }
/// Arguments for [`NapiNextTurbopackCallbacks::throw_turbopack_internal_error`]. /// Arguments for `NapiNextTurbopackCallbacks::throw_turbopack_internal_error`.
#[napi(object)] #[napi(object)]
pub struct TurbopackInternalErrorOpts { pub struct TurbopackInternalErrorOpts {
pub message: String, pub message: String,
......
...@@ -3,10 +3,7 @@ ...@@ -3,10 +3,7 @@
#[global_allocator] #[global_allocator]
static ALLOC: turbo_tasks_malloc::TurboMalloc = turbo_tasks_malloc::TurboMalloc; static ALLOC: turbo_tasks_malloc::TurboMalloc = turbo_tasks_malloc::TurboMalloc;
use std::{ use std::path::{Path, PathBuf};
path::{Path, PathBuf},
process::Command,
};
use criterion::{BenchmarkId, Criterion, criterion_group, criterion_main}; use criterion::{BenchmarkId, Criterion, criterion_group, criterion_main};
use turbopack_cli::arguments::{BuildArguments, CommonArguments}; use turbopack_cli::arguments::{BuildArguments, CommonArguments};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment