Dead code warning should provide some help for making the code public in library crates
4a0b663
Opened by Johannes Höhn at
When compiling a library crate a dead code warning occurs it might be a sign that programmers actually wanted to make the code public. The warning message should tell them how to do that (e.g. pub keyword missing on mod or fn/enum/...).
Especially making the mod pub can easily be forgotten. (E.g. this person and me did.)
Triage: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=2e27bca5c3a888a7f1955969603a8101
No change
Steve Klabnik at 2019-03-12 17:31:26