Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cargo build error #2

Open
pavel-pimenov opened this issue Mar 19, 2020 · 0 comments
Open

cargo build error #2

pavel-pimenov opened this issue Mar 19, 2020 · 0 comments

Comments

@pavel-pimenov
Copy link

F:\git\pdblister\src>cargo build Updating crates.io index Downloaded rand v0.3.23 Downloaded libc v0.2.68 Downloaded rand v0.4.6 Downloaded winapi v0.3.8 Compiling winapi v0.3.8 Compiling libc v0.2.68 Compiling rand v0.4.6 Compiling rand v0.3.23 Compiling pdblister v0.1.0 (F:\git\pdblister) warning: trait objects without an explicit dyn are deprecated --> src\main.rs:275:54 | 275 | Result<(File, MZHeader, PEHeader, u32, u32), Boxstd::error::Error> | ^^^^^^^^^^^^^^^^^ help: use dyn: dyn std::error::Error | = note: #[warn(bare_trait_objects)] on by default warning: trait objects without an explicit dyn are deprecated --> src\main.rs:313:57 | 313 | fn get_file_path(filename: &Path) -> Result<String, Boxstd::error::Error> | ^^^^^^^^^^^^^^^^^ help: use dyn: dyn std::error::Error warning: trait objects without an explicit dyn are deprecated --> src\main.rs:340:51 | 340 | fn get_pdb(filename: &Path) -> Result<String, Boxstd::error::Error> | ^^^^^^^^^^^^^^^^^ help: use dyn: dyn std::error::Error Finished dev [unoptimized + debuginfo] target(s) in 39.77s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant