diff --git a/src/lib.rs b/src/lib.rs index 31354ce4..22b0d4b0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,4 @@ -#![cfg_attr(coverage_nightly, feature(no_coverage))] +#![cfg_attr(coverage_nightly, feature(coverage_attribute))] use indexmap::IndexMap; use parser::condition::ConditionFunction; diff --git a/src/synthesizer/typescript/mod.rs b/src/synthesizer/typescript/mod.rs index 315009f9..6addf93a 100644 --- a/src/synthesizer/typescript/mod.rs +++ b/src/synthesizer/typescript/mod.rs @@ -22,7 +22,7 @@ pub struct Typescript { } impl Typescript { - #[cfg_attr(coverage_nightly, no_coverage)] + #[cfg_attr(coverage_nightly, coverage(off))] #[deprecated(note = "Prefer using the Synthesizer API instead")] pub fn output(ir: CloudformationProgramIr) -> String { let mut output = Vec::new();