Programming & Systems Guides
Empirical benchmarks and systems guides appear first, followed by the compiler and error-code reference archive. Browse by topic, jump to the error reference archive, or subscribe via RSS.
-
C++ Redefinition Error Fix C++ · Error Reference
A second definition in one C++ file is rejected, but GCC does not use one wording for it: a local variable is a redeclaration, a global variable, a...
-
C++ Narrowing Conversion Error Fix C++ · Error Reference
Braces turn silent truncation into a compile error: a double in an int's braces, a constant too wide for a char, a negative value in an unsigned...
-
C++ Lvalue Required Assignment Fix C++ · Error Reference
This error means the left side of an assignment names a value, not a place to store one: a literal, the result of a function that returns by value, a...
-
C++ Header Not Found Fix C++ · Error Reference
The preprocessor stops at an #include line with a fatal error - the named header file is not found: the name is misspelled, a project header sits in a...
-
C++ Expected Semicolon Error Fix C++ · Error Reference
A missing semicolon is reported at the token that follows it, not on the line that lacks it: after a variable declaration the error names the next...
-
C++ Expected Primary-Expression Fix C++ · Error Reference
This error means an operator or bracket was left waiting for a value that never arrives: a missing operand after a binary operator, a trailing comma in a...
-
C++ Does Not Name a Type Fix C++ · Error Reference
A name sits where a type is required and the compiler answers that it does not name a type: the header that declares it was never included, the name is...
-
C++ Break Outside Loop Fix C++ · Error Reference
This error means a break stands where no loop or switch encloses it: inside an if with no loop anywhere, inside a helper function called from a loop, inside...
-
E0107 Wrong Generics Fix Rust · Error Reference
Rust error E0107, wrong number of generic arguments, means the angle brackets at a use of an item supply a different count of generic arguments than the...
-
E0061 Wrong Argument Count Fix Rust · Error Reference
Rust error E0061, this function takes N arguments but M arguments were supplied, means a call supplied a different number of arguments than the callee's...
-
E0432 Unresolved Import Fix Rust · Error Reference
Rust error E0432, unresolved import, means a use declaration names something that does not exist at that path - a misspelled standard library item, an item...
-
E0716 Temporary Dropped Fix Rust · Error Reference
Rust error E0716, temporary value dropped while borrowed, means a borrow outlived the temporary it points into - a function result borrowed through a helper...
-
E0609 No Field Fix Rust · Error Reference
Rust error E0609, no field on type, means a dot access named a field that the value's type does not have - a misspelled field on a named struct, a field...
-
E0106 Missing Lifetime Fix Rust · Error Reference
Rust error E0106, missing lifetime specifier, means a lifetime is missing from a type: the compiler found a reference whose lifetime it cannot infer. This...
-
E0433 Failed to Resolve Fix Rust · Error Reference
Rust error E0433, failed to resolve, means a path in the code names a crate, module, or type the compiler cannot find - an external crate that was never...
-
E0423 Expected Value Fix Rust · Error Reference
Rust error E0423, expected value, means a name was used where a value was needed but the name lives in a different namespace - a braced struct called with...
-
E0252 Duplicate Import Fix Rust · Error Reference
Rust error E0252, the name is defined multiple times, means two use declarations bound the same name in the same namespace and scope - the same item...
-
E0428 Duplicate Definition Fix Rust · Error Reference
Rust error E0428, the name is defined multiple times, means two definitions claimed the same name in the same namespace of the same scope - two functions...
-
E0119 Conflicting Impl Fix Rust · Error Reference
Rust error E0119, conflicting implementations of a trait, means two impl blocks can apply to the same trait and type pair - the same trait implemented twice...
-
E0503 Cannot Use Fix Rust · Error Reference
Rust error E0503, cannot use a value because it was mutably borrowed, means code tried to use a value - read it in an expression, pass it by value, call a...
-
E0509 Cannot Move Out Fix Rust · Error Reference
Rust error E0509, cannot move out of type which implements the Drop trait, means code tried to move a field or a payload out of a value whose type has a...
-
E0505 Cannot Move Out Fix Rust · Error Reference
Rust error E0505, cannot move out of a value because it is borrowed, means code tried to move a value - into another binding, a function that takes...
-
E0425 Cannot Find Value Fix Rust · Error Reference
Rust error E0425, cannot find value in this scope, means an unresolved name was used: the compiler found no binding, function, or imported item with that...
-
E0594 Cannot Assign Fix Rust · Error Reference
Rust error E0594, cannot assign, means an assignment reached a place that is not writable: the value sits behind a shared reference, or the binding was...
-
E0369 Binary Operation Fix Rust · Error Reference
Rust error E0369, binary operation cannot be applied, means an operator was used on a type that does not implement the trait behind that operator - equality...
-
E0506 Assign While Borrowed Fix Rust · Error Reference
Rust error E0506, cannot assign to a value because it is borrowed, means a plain assignment tried to replace a value - a variable, a struct field, a whole...
-
Fix Rust E0282 "type annotations needed" — a Vec::new Never Filled, a collect() Followed by len(), a Bare None, and a Generic Function Returning Default Rust · Error Reference
Rust error E0282, type annotations needed, means type inference did not reach one unique type and the compiler needs the missing type stated. This guide...
-
Fix Rust E0277 "the trait bound ... is not satisfied" — Missing Trait Impl, Missing Ord, the ? Conversion, Sized, and Clone Rust · Error Reference
Rust error E0277, the trait bound is not satisfied, means a type was used in a place that requires a trait the type does not implement: a generic function...
-
Fix Rust E0599 "no method named" — Import the Trait, Fix the Receiver, or Use the Current Name Rust · Error Reference
Rust error E0599, no method named, means a method call found no visible method of that name on the receiver's type: the method belongs to a trait that...
-
Fix Rust E0308 "mismatched types" — Convert the Value, Fix the Signature, or Give Both Sides One Type Rust · Error Reference
Rust error E0308, mismatched types, means an expression produced one type where a different type was required: an i32 passed where an i64 belongs, if and...