-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
use anyhow::Error;
use fehler::throws;
#[throws]
fn f() {}
fn g() {}
fn main() {}warning: function is never used: `g`
--> src/main.rs:7:4
|
7 | fn g() {}
| ^
|
= note: `#[warn(dead_code)]` on by defaultIt seems throws functions aren't seen by the compiler as dead code when they should be. Probably some Span is wrong somewhere.
(Tested as of master @ df2e3d4.)
Metadata
Metadata
Assignees
Labels
No labels