Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix dead_code warning on fallback SourceFile
warning: struct `SourceFile` is never constructed --> src/fallback.rs:301:19 | 301 | pub(crate) struct SourceFile { | ^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: methods `path` and `is_real` are never used --> src/fallback.rs:307:12 | 305 | impl SourceFile { | --------------- methods in this implementation 306 | /// Get the path to this source file as a string. 307 | pub fn path(&self) -> PathBuf { | ^^^^ ... 311 | pub fn is_real(&self) -> bool { | ^^^^^^^
- Loading branch information