Rust guides
Rust guides: async runtimes and embedded targets, with what actually runs under QEMU.
-
E0463 Can't Find Crate Fix Error Reference
Naming a crate the compiler was never linked to fails with 'can't find crate': the crate is not on the search path, not named by --extern, and...
-
E0422 Cannot Find Struct Fix Error Reference
A struct literal such as Point { x: 1, y: 2 } whose name is not in scope fails with E0422: cannot find struct, variant or union type in this scope. This...
-
E0283 Type Annotations Needed Fix Error Reference
Rust error E0283, type annotations needed, means inference found more than one type that satisfies the constraints and could not pick one - the ambiguity...
-
E0512 Transmute Size Mismatch Fix Error Reference
Rust error E0512, cannot transmute between types of different sizes, or dependently-sized types, means a std::mem::transmute call named a source type and a...
-
E0038 Trait Not Object Safe Fix Error Reference
Rust error E0038, the trait is not dyn compatible, means a trait cannot be used as a trait object - as dyn Trait behind a pointer - because something in the...
-
E0603 Private Item Fix Error Reference
Rust error E0603, a private item was used outside its scope, means code named an item - a module, a struct, a function, a constant, an enum, a static, a...
-
E0117 Orphan Rule Fix Error Reference
Rust error E0117 means an impl tried to implement a trait defined outside the current crate for a type defined outside the current crate, with every type...
-
E0063 Missing Fields in Struct Fix Error Reference
Rust error E0063, missing field in a struct or struct-like enum variant initializer, means a struct expression left out at least one field the type...
-
E0621 Explicit Lifetime Required Fix Error Reference
Rust error E0621, explicit lifetime required in the type of a parameter, means a function returns a reference tied to one named lifetime while its body also...
-
E0618 Expected Function Fix Error Reference
Rust error E0618, expected function, found a value of another type, means call parentheses were placed after something that is not callable - an integer, a...
-
E0508 Cannot Move Out of Array Fix Error Reference
Rust error E0508, cannot move out of a non-copy array, means a program tried to move one element out of a fixed-size array whose element type does not...
-
E0600 Cannot Apply Unary Operator Fix Error Reference
Rust error E0600, cannot apply unary operator, means a program applied the unary `-` or `!` operator to a type that does not implement the matching trait...
-
E0521 Borrowed Data Escapes Closure Fix Error Reference
Rust error E0521, borrowed data escapes outside of closure, means a closure stores a reference to one of its parameters in a place that outlives the closure...
-
E0381 Uninitialized Use Fix Error Reference
Rust error E0381, used binding isn't initialized or is possibly-uninitialized, means a binding was declared without a value and then used on a path...
-
E0046 Missing Trait Items Fix Error Reference
Rust error E0046, not all trait items implemented, means a trait implementation left out a required item - a method with no default, an associated type, or...
-
E0605 Invalid Cast Fix Error Reference
Rust error E0605, non-primitive cast, means an `as` expression tried to convert between types that are not both primitives: casting an array to an integer...
-
E0616 Field Is Private Fix Error Reference
Rust error E0616, field of struct is private, means code outside the module that defines a struct tried to name one of its fields: reading a field from...
-
E0500 Closure Unique Access Fix Error Reference
Rust error E0500, closure requires unique access to a value but it is already borrowed, means a closure tried to mutate a value through a mutable reference...
-
E0373 Closure May Outlive Fix Error Reference
Rust error E0373, closure may outlive the current function but it borrows a local variable, means a closure that escapes a function still holds a reference...
-
E0593 Closure Argument Count Fix Error Reference
Rust error E0593, closure is expected to take a different number of arguments than it takes, means a closure was supplied to a place that calls it with a...
-
E0614 Cannot Dereference Fix Error Reference
Rust error E0614, type cannot be dereferenced, means the * operator was applied to a value that is not a reference, a raw pointer, or a type implementing...
-
E0502 Cannot Borrow Fix Error Reference
Rust error E0502, cannot borrow as mutable because it is also borrowed as immutable - and its mirror, cannot borrow as immutable because it is also borrowed...
-
E0384 Cannot Assign Fix Error Reference
Rust error E0384, cannot assign twice to immutable variable, means a second assignment was made to a binding that was declared without mut: variables are...
-
E0107 Wrong Generics Fix 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 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 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 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 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 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 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...