struct SemanticDirection;
fn main() {}
warning: struct is never used: `SemanticDirection`
--> src/main.rs:1:1
|
1 | struct SemanticDirection;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: #[warn(dead_code)] on by default
मैं किसी भी गंभीर चीज के लिए इन चेतावनियों को वापस कर दूंगा, लेकिन मैं सिर्फ भाषा के साथ छेड़छाड़ कर रहा हूं और यह मुझे चमगादड़ बना रहा है।
मैंने #[allow(dead_code)]
अपने कोड में जोड़ने की कोशिश की , लेकिन वह काम नहीं किया।