You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, the new release of thiserror seems to have broken something. A game engine called bevy re-exports thiserror in a bevy_utils crate, when the code is then called in other places it fails to compile on the newest release because it calls thiserror::__private when the path it is available at would be bevy_utils::thiserror::_private. This results in compilation errors, for example this CI run: https://github.com/Jondolf/bevy_xpbd/actions/runs/5481101314/jobs/9985014733#step:4:293
I'm not quite sure what the correct solution here is, but I think calling the macros from a re-export is a valid usecase that should work as intended
The text was updated successfully, but these errors were encountered:
NiseVoid
changed the title
New release breaks callers of the Error derive if it came from a reimport from another crate
New release breaks callers of the Error derive if it came from a re-export from another crate
Jul 7, 2023
Hello, the new release of thiserror seems to have broken something. A game engine called bevy re-exports thiserror in a bevy_utils crate, when the code is then called in other places it fails to compile on the newest release because it calls
thiserror::__private
when the path it is available at would bebevy_utils::thiserror::_private
. This results in compilation errors, for example this CI run: https://github.com/Jondolf/bevy_xpbd/actions/runs/5481101314/jobs/9985014733#step:4:293I'm not quite sure what the correct solution here is, but I think calling the macros from a re-export is a valid usecase that should work as intended
The text was updated successfully, but these errors were encountered: