diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-04-02 09:50:39 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-04-10 15:57:57 +0300 |
commit | 85212e8ddc54c6ede71912127eaf84aac403f10d (patch) | |
tree | 3d6a86f55231ace670ecdf1a6b42b237db2632f8 /src/bin/cli/mod.rs | |
parent | a3d768162e70004d207a40d803f5d17eeea8593a (diff) | |
download | subplot-85212e8ddc54c6ede71912127eaf84aac403f10d.tar.gz |
feat! treat warnings as errors by default
Add a --merciful option to subcommands for which this matters. Adjust
tests to invoke subplot with that option as necessary.
Sponsored-by: author
Diffstat (limited to 'src/bin/cli/mod.rs')
-rw-r--r-- | src/bin/cli/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/cli/mod.rs b/src/bin/cli/mod.rs index a16df87..2c43c39 100644 --- a/src/bin/cli/mod.rs +++ b/src/bin/cli/mod.rs @@ -35,7 +35,7 @@ impl TryFrom<&mut Document> for Metadata { type Error = subplot::SubplotError; fn try_from(doc: &mut Document) -> std::result::Result<Self, Self::Error> { let mut sources: Vec<_> = doc - .sources(None) + .sources(&None) .into_iter() .map(|p| filename(Some(&p))) .collect(); |