Fix an unfulfilled lint expectation on OSDK unit tests

This commit is contained in:
Zhang Junyang
2025-02-09 21:19:23 +08:00
committed by Tate, Hongliang Tian
parent e1ced5f385
commit 3e31df74e3

View File

@ -32,7 +32,7 @@ pub enum ProjectType {
/// The osdk manifest from configuration file `OSDK.toml`.
#[derive(Debug, Clone)]
pub struct TomlManifest {
#[expect(dead_code)]
#[cfg_attr(not(test), expect(dead_code))]
pub project_type: Option<ProjectType>,
pub default_scheme: Scheme,
pub map: HashMap<String, Scheme>,