Summary
The repository has no trybuild dev-dependency and no tests/ui directory. PR #336 introduces #[cfg(kani)] conditional compilation paths and an unexpected_cfgs lint entry; there are no compile-pass or compile-fail UI tests to exercise these at compile time.
Required work
- Add
trybuild as a dev-dependency in Cargo.toml.
- Create a
tests/ui/ directory with at least:
- A compile-pass snippet confirming
#[cfg(kani)] code compiles cleanly under normal cargo build.
- A compile-fail snippet confirming that a bare
cfg(unknown_feature) triggers the unexpected_cfgs warning.
References
Summary
The repository has no
trybuilddev-dependency and notests/uidirectory. PR #336 introduces#[cfg(kani)]conditional compilation paths and anunexpected_cfgslint entry; there are no compile-pass or compile-fail UI tests to exercise these at compile time.Required work
trybuildas a dev-dependency inCargo.toml.tests/ui/directory with at least:#[cfg(kani)]code compiles cleanly under normalcargo build.cfg(unknown_feature)triggers theunexpected_cfgswarning.References