You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4 lines
5.2 KiB
Plaintext
4 lines
5.2 KiB
Plaintext
4 years ago
|
{"message":"unused imports: `AppSettings`, `ArgSettings`, `Clap`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"igloo_cli/src/lib.rs","byte_start":52,"byte_end":56,"line_start":4,"line_end":4,"column_start":12,"column_end":16,"is_primary":true,"text":[{"text":"use clap::{Clap, App, AppSettings, Arg, ArgSettings, ArgMatches};","highlight_start":12,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"igloo_cli/src/lib.rs","byte_start":63,"byte_end":74,"line_start":4,"line_end":4,"column_start":23,"column_end":34,"is_primary":true,"text":[{"text":"use clap::{Clap, App, AppSettings, Arg, ArgSettings, ArgMatches};","highlight_start":23,"highlight_end":34}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"igloo_cli/src/lib.rs","byte_start":81,"byte_end":92,"line_start":4,"line_end":4,"column_start":41,"column_end":52,"is_primary":true,"text":[{"text":"use clap::{Clap, App, AppSettings, Arg, ArgSettings, ArgMatches};","highlight_start":41,"highlight_end":52}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(unused_imports)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"remove the unused imports","code":null,"level":"help","spans":[{"file_name":"igloo_cli/src/lib.rs","byte_start":52,"byte_end":58,"line_start":4,"line_end":4,"column_start":12,"column_end":18,"is_primary":true,"text":[{"text":"use clap::{Clap, App, AppSettings, Arg, ArgSettings, ArgMatches};","highlight_start":12,"highlight_end":18}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null},{"file_name":"igloo_cli/src/lib.rs","byte_start":61,"byte_end":74,"line_start":4,"line_end":4,"column_start":21,"column_end":34,"is_primary":true,"text":[{"text":"use clap::{Clap, App, AppSettings, Arg, ArgSettings, ArgMatches};","highlight_start":21,"highlight_end":34}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null},{"file_name":"igloo_cli/src/lib.rs","byte_start":79,"byte_end":92,"line_start":4,"line_end":4,"column_start":39,"column_end":52,"is_primary":true,"text":[{"text":"use clap::{Clap, App, AppSettings, Arg, ArgSettings, ArgMatches};","highlight_start":39,"highlight_end":52}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: unused imports: `AppSettings`, `ArgSettings`, `Clap`\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0migloo_cli/src/lib.rs:4:12\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m4\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0muse clap::{Clap, App, AppSettings, Arg, ArgSettings, ArgMatches};\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^^^^^^\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^^^^^^\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m= \u001b[0m\u001b[0m\u001b[1mnote\u001b[0m\u001b[0m: `#[warn(unused_imports)]` on by default\u001b[0m\n\n"}
|
||
|
{"message":"unused import: `config::Config`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"igloo_cli/src/lib.rs","byte_start":111,"byte_end":125,"line_start":5,"line_end":5,"column_start":5,"column_end":19,"is_primary":true,"text":[{"text":"use config::Config;","highlight_start":5,"highlight_end":19}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"remove the whole `use` item","code":null,"level":"help","spans":[{"file_name":"igloo_cli/src/lib.rs","byte_start":107,"byte_end":126,"line_start":5,"line_end":5,"column_start":1,"column_end":20,"is_primary":true,"text":[{"text":"use config::Config;","highlight_start":1,"highlight_end":20}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: unused import: `config::Config`\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0migloo_cli/src/lib.rs:5:5\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m5\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0muse config::Config;\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^^^^^^^^^\u001b[0m\n\n"}
|
||
|
{"message":"2 warnings emitted","code":null,"level":"warning","spans":[],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: 2 warnings emitted\u001b[0m\n\n"}
|