Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.13.0
-
None
-
cargo 1.40.0 (bc8e4c8be 2019-11-22)
rustc 1.40.0 (73528e339 2019-12-16)
Description
The rust compiler is broken for rust edition 2018. If we change the tutorial cargo (tutorial/rs/Cargo.toml) to edition = "2018", the following error would occur:
// code placeholder error[E0432]: unresolved import `shared` --> src/tutorial.rs:30:5 | 30 | use shared; | ^^^^^^ no `shared` external crateerror: aborting due to previous error
The compiler might need to generate use crate::shared instead.
Attachments
Issue Links
- relates to
-
THRIFT-4098 Support user-defined output namespaces in generated Rust modules
- Closed