Algorithms-and-Data-Structures/Rust-Dense-Graph/target/debug/.fingerprint/dense_graph-42a9704095f8f8cc/output-bin-dense_graph

3 lines
7.5 KiB
Plaintext
Raw Permalink Normal View History

2024-05-04 16:13:07 +01:00
{"$message_type":"diagnostic","message":"multiple methods are never used","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"src/dense_graph.rs","byte_start":373,"byte_end":412,"line_start":15,"line_end":15,"column_start":1,"column_end":40,"is_primary":false,"text":[{"text":"impl<T: Eq + PartialEq + Hash> Graph<T> {","highlight_start":1,"highlight_end":40}],"label":"methods in this implementation","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/dense_graph.rs","byte_start":2405,"byte_end":2420,"line_start":80,"line_end":80,"column_start":12,"column_end":27,"is_primary":true,"text":[{"text":" pub fn get_edge_weight(&self, from: T, to: T) -> Option<isize> {","highlight_start":12,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/dense_graph.rs","byte_start":2746,"byte_end":2755,"line_start":89,"line_end":89,"column_start":12,"column_end":21,"is_primary":true,"text":[{"text":" pub fn get_nodes(&self) -> Vec<&T> {","highlight_start":12,"highlight_end":21}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/dense_graph.rs","byte_start":3379,"byte_end":3390,"line_start":106,"line_end":106,"column_start":12,"column_end":23,"is_primary":true,"text":[{"text":" pub fn remove_node(&mut self, node: T) {","highlight_start":12,"highlight_end":23}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/dense_graph.rs","byte_start":3690,"byte_end":3701,"line_start":117,"line_end":117,"column_start":12,"column_end":23,"is_primary":true,"text":[{"text":" pub fn remove_edge(&mut self, from: T, to: T) {","highlight_start":12,"highlight_end":23}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/dense_graph.rs","byte_start":4025,"byte_end":4033,"line_start":125,"line_end":125,"column_start":12,"column_end":20,"is_primary":true,"text":[{"text":" pub fn is_empty(&self) -> bool {","highlight_start":12,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/dense_graph.rs","byte_start":4148,"byte_end":4158,"line_start":130,"line_end":130,"column_start":12,"column_end":22,"is_primary":true,"text":[{"text":" pub fn edge_count(&self) -> usize {","highlight_start":12,"highlight_end":22}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/dense_graph.rs","byte_start":4355,"byte_end":4365,"line_start":135,"line_end":135,"column_start":12,"column_end":22,"is_primary":true,"text":[{"text":" pub fn node_count(&self) -> usize {","highlight_start":12,"highlight_end":22}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/dense_graph.rs","byte_start":4482,"byte_end":4487,"line_start":140,"line_end":140,"column_start":12,"column_end":17,"is_primary":true,"text":[{"text":" pub fn clear(&mut self) {","highlight_start":12,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(dead_code)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: multiple methods are never used\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0msrc/dense_graph.rs:80: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;12m15\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0mimpl<T: Eq + PartialEq + Hash> Graph<T> {\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m---------------------------------------\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[
{"$message_type":"diagnostic","message":"1 warning emitted","code":null,"level":"warning","spans":[],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: 1 warning emitted\u001b[0m\n\n"}