Rust कंपाइलर एररगंभीर
panic-stack-overflowPanic — स्टैक ओवरफ़्लो
program अत्यधिक stack उपयोग के कारण, आमतौर पर गहरी recursion से, panic हो गया।
rustcargo
विवरण देखें E0308अपेक्षित type, प्रदान किए गए actual type से मेल नहीं खाता।
कोई function घोषित type से भिन्न type return करता है, कोई variable incompatible type assign करता है, या match arm भिन्न type return करती है। Rust की strict type system को implicit conversions के बिना exact type matches आवश्यक हैं।
Value को .into(), as, या From/Into traits का उपयोग करके अपेक्षित type में convert करें। Actual return value से मिलान के लिए return type annotation ठीक करें। आवश्यकतानुसार .to_string(), .as_str(), या अन्य conversion methods उपयोग करें।
fn main() {
let x: i32 = "hello";
}panic-stack-overflowprogram अत्यधिक stack उपयोग के कारण, आमतौर पर गहरी recursion से, panic हो गया।
E0428एक ही scope में समान नाम से एक से अधिक item define किए गए हैं।
E0599दिए गए प्रकार पर method मौजूद नहीं है, या आवश्यक trait scope में नहीं है।
E0600एक unary operator ऐसे type पर लागू किया गया है जो उसे support नहीं करती।
unused_mutएक वेरिएबल mutable घोषित किया गया है लेकिन वास्तव में कभी mutate नहीं किया गया।
E0271एक trait इम्प्लीमेंटेशन में associated type अपेक्षित टाइप से मेल नहीं खाता।