Strip dead_code allowances
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -138,7 +138,6 @@ distributed slice's entries) and prints `mizan_core::build_ir()`:
|
|||||||
// #[derive(Mizan)] / #[mizan::client] registrations so the linker
|
// #[derive(Mizan)] / #[mizan::client] registrations so the linker
|
||||||
// keeps them in the final binary.
|
// keeps them in the final binary.
|
||||||
|
|
||||||
#[allow(dead_code)]
|
|
||||||
fn _force_link() {
|
fn _force_link() {
|
||||||
use my_app_lib::commands;
|
use my_app_lib::commands;
|
||||||
let _ = commands::greet;
|
let _ = commands::greet;
|
||||||
|
|||||||
@@ -60,7 +60,6 @@ pub type FetchFn = Arc<
|
|||||||
|
|
||||||
|
|
||||||
struct ContextEntry {
|
struct ContextEntry {
|
||||||
#[allow(dead_code)]
|
|
||||||
params: Value,
|
params: Value,
|
||||||
tx: watch::Sender<ContextStateRaw>,
|
tx: watch::Sender<ContextStateRaw>,
|
||||||
fetch_fn: FetchFn,
|
fetch_fn: FetchFn,
|
||||||
|
|||||||
@@ -74,7 +74,6 @@ enum Envelope {
|
|||||||
Django {
|
Django {
|
||||||
// Django form is `{"error": true, "code": ..., "message": ..., "details": ...}`.
|
// Django form is `{"error": true, "code": ..., "message": ..., "details": ...}`.
|
||||||
// `error` is a bool sentinel; the actual fields are siblings.
|
// `error` is a bool sentinel; the actual fields are siblings.
|
||||||
#[allow(dead_code)]
|
|
||||||
error: bool,
|
error: bool,
|
||||||
code: Option<String>,
|
code: Option<String>,
|
||||||
message: Option<String>,
|
message: Option<String>,
|
||||||
|
|||||||
Reference in New Issue
Block a user