I see that I can use the #[deprecated] marker, but somehow it is not working in the following workflow:
- I renamed all my
MyOldStructtoMyNewStructin my library. - Added a #deprecated note to
pub use MyNewStruct as MyOldStruct.
pub struct MyNewStruct{};
#[deprecated]
pub use MyOldStruct as MyNewStruct;
Any ideas what might be going wrong here? I am viewing if it shows as deprecated in cargo docs.