Problem
The upgrade of mockable from version 0.1.4 to 3.0.0 is currently blocked due to compilation errors and lint warnings.
Errors Encountered
1. Renamed Lint Warning
warning: lint `missing_crate_level_docs` has been renamed to `rustdoc::missing_crate_level_docs`
|
= help: use the new name `rustdoc::missing_crate_level_docs`
= note: requested on the command line with `-D missing_crate_level_docs`
2. Missing new() Function
error[E0599]: no function or associated item named `new` found for struct `mockable::DefaultEnv` in the current scope
--> src/main.rs:134:37
|
134 | let env = mockable::DefaultEnv::new();
| ^^^ function or associated item not found in `DefaultEnv`
The error suggests that the new() function is no longer available on mockable::DefaultEnv in version 3.0.0, indicating a breaking API change.
Related
Action Required
Investigate the mockable v3.0.0 API changes and update the codebase accordingly, particularly:
- Update lint configuration to use
rustdoc::missing_crate_level_docs
- Update usage of
mockable::DefaultEnv to match the new API
Problem
The upgrade of
mockablefrom version 0.1.4 to 3.0.0 is currently blocked due to compilation errors and lint warnings.Errors Encountered
1. Renamed Lint Warning
2. Missing
new()FunctionThe error suggests that the
new()function is no longer available onmockable::DefaultEnvin version 3.0.0, indicating a breaking API change.Related
Action Required
Investigate the mockable v3.0.0 API changes and update the codebase accordingly, particularly:
rustdoc::missing_crate_level_docsmockable::DefaultEnvto match the new API