I am using Rust v1.1.1 and this is what shows in the compile of 2 things:
Compiling elf2psexe v0.0.1 (file:///E:/Users/Elsword/Desktop/PSX/psx-sdk/elf2psexe)
warning: private type in public interface (error E0446), #[warn(private_in_public)] on by default
--> src\elf.rs:178:39
|
178 | pub fn into_sections(self) -> Vec<Section> {
| ^^^^^^^
|
= warning: this was previously accepted by the compiler but is being phasedout; it will become a hard error in a future release!
= note: for more information, see issue #34537 <https://github.com/rust-lang/rust/issues/34537>
warning: private type in public interface (error E0446), #[warn(private_in_public)] on by default
--> src\psexe.rs:29:57
|
29 | pub fn dump(mut self, entry: u32, mut sections: Vec<Section>) {
| ^^^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #34537 <https://github.com/rust-lang/rust/issues/34537>
I am using Rust v1.1.1 and this is what shows in the compile of 2 things: