Created
February 13, 2024 22:25
-
-
Save adam-singer/c75e1d177dd105307b68230bd2bafc30 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error[E0782]: trait objects must include the `dyn` keyword | |
--> nativelink-util/src/health_utils.rs:64:31 | |
| | |
64 | pub fn new_ok(component: &HealthStatusIndicator, message: Cow<'static, str>) -> Self { | |
| ^^^^^^^^^^^^^^^^^^^^^ | |
| | |
help: add `dyn` keyword before this trait | |
| | |
64 | pub fn new_ok(component: &dyn HealthStatusIndicator, message: Cow<'static, str>) -> Self { | |
| +++ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment