More than one function parameter have the same name. E0415
- Code
E0415- Severity
- error
Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
The error codes and warnings of Rust, with the message that each one prints and what causes it. This page has 512 cards.
E0415E0415Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0416E0416Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0422E0422Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0423A name exists, but in another namespace, such as a macro called without its ! or a struct called like a function. Use the right form, for example println! for the macro.
E0423expected function, found macro `{}`expected value, found struct `{}`See Hello, world.
Source: doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0424E0424Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0425E0425Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0426E0426Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0428E0428Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0429The compiler no longer emits this error.
E0429Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0430The compiler no longer emits this error.
E0430Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0431The compiler no longer emits this error.
E0431Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0432E0432Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0433E0433Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0434E0434Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0435E0435Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0436E0436Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0437E0437Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0438E0438Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0439The compiler no longer emits this error.
E0439Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0445The compiler no longer emits this error.
E0445Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0446E0446Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0447The compiler no longer emits this error.
E0447Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0448The compiler no longer emits this error.
E0448Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0449Visibility qualifiers are not permitted on enum variants, trait items, impl blocks, and extern blocks, as they already share the visibility of the parent item.
E0449Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0451E0451Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0452E0452Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0453E0453Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0454E0454Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0455E0455Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0457The compiler no longer emits this error.
E0457Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0458The compiler no longer emits this error.
E0458Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0459E0459Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0460E0460Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0461E0461Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0462E0462Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0463E0463Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0464E0464Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0466The compiler no longer emits this error.
E0466Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0468E0468Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0469E0469Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0472E0472Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0476E0476Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0477The compiler no longer emits this error.
E0477Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0478E0478Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0482The compiler no longer emits this error.
E0482Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0491E0491Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0492E0492Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0493E0493Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0495The compiler no longer emits this error.
E0495Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0496E0496Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0497The compiler no longer emits this error.
E0497Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0498The compiler no longer emits this error.
E0498Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0499Two mutable references to the same value are live at the same time. Rust allows one mutable reference or any number of shared references, not both. End the first borrow before the second one starts.
E0499cannot borrow `{}` as mutable more than once at a timeSource: doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0500E0500Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0501E0501Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0502The program takes a mutable borrow, for example with a call to push, while a shared reference to the same value is still used later. Use the shared reference before the mutable borrow, or copy the data out first.
E0502cannot borrow `{}` as mutable because it is also borrowed as immutablecannot borrow `{}` as immutable because it is also borrowed as mutableSource: doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0503E0503Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0504The compiler no longer emits this error.
E0504Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0505The program moves a value while a reference to it is still used later. Use the reference before the move, or clone the value if the cost is acceptable.
E0505cannot move out of `{}` because it is borrowedSource: doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0506The program assigns a new value to a variable while a reference to the old value is still used later. Use the reference before the assignment, or keep the old value in a new variable.
E0506cannot assign to `{}` because it is borrowedSource: doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0507The program moves a field or a value out through a reference. A reference does not own the value, so it cannot give the value away. Borrow the field, clone it, or use std::mem::take or Option::take to leave a value in its place.
E0507cannot move out of `{}` which is behind a shared referencecannot move out of `{}` which is behind a mutable referenceSource: doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0508E0508Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0509E0509Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0510E0510Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0511E0511Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0512E0512Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0514E0514Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0515A function returns a reference to a local variable or a temporary, which dies when the function returns. Return the value itself, or a reference into an argument.
E0515cannot return reference to local variable `{}`cannot return value referencing local variable `{}`cannot return reference to temporary valueSee Ownership and borrowing, Stack and heap.
Source: doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0516The compiler no longer emits this error.
E0516Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0517The compiler no longer emits this error.
E0517Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0518The compiler no longer emits this error.
E0518Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0519E0519Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0520E0520Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0521E0521Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0522E0522Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0523The compiler no longer emits this error.
E0523Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0524E0524Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0525E0525Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0527E0527Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0528E0528Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0529E0529Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0530E0530Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0531E0531Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0532E0532Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0533E0533Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0534The compiler no longer emits this error. Similar diagnostics occur for other attributes too. The example here will now emit E0805
E0534Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0535The compiler no longer emits this error. Similar diagnostics occur for other attributes too. The example here will now emit E0539
E0535Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0536The compiler no longer emits this error.
E0536Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0537The compiler no longer emits this error.
E0537Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0538E0538Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0539E0539Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0541The compiler no longer emits this error.
E0541Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0542E0542Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0543E0543Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0544E0544Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0545E0545Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0546E0546Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0547E0547Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0549E0549Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0550The compiler no longer emits this error.
E0550Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0551The compiler no longer emits this error.
E0551Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0552The compiler no longer emits this error.
E0552Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0554Stable or beta compilers will not comply.
E0554Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0556The compiler no longer emits this error.
E0556Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0557E0557Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0559E0559Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0560E0560Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0561E0561Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0562E0562Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0565E0565Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0566E0566Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0567E0567Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0568E0568Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0569E0569Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0570E0570Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0571E0571Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0572E0572Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0573E0573Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0574E0574Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0575E0575Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0576E0576Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0577E0577Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0578The compiler no longer emits this error.
E0578Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0579E0579Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0580E0580Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0581E0581Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0582E0582Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0583E0583Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0584E0584Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0585E0585Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0586E0586Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0587E0587Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0588The compiler no longer emits this error.
E0588Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0589E0589Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0590E0590Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0591E0591Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0592E0592Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0593E0593Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0594E0594Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0595The compiler no longer emits this error.
E0595Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0596The program calls a method that takes &mut self, or takes a mutable reference, on a variable declared without mut. Declare the binding with let mut.
E0596cannot borrow `{}` as mutable, as it is not declared as mutableSee Ownership and borrowing, Classes and instances.
Source: doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0597A reference is used after the value that it points to is dropped, usually because the value is declared in an inner scope. Declare the value in the outer scope, or return an owned value.
E0597`{}` does not live long enoughSource: doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0599E0599Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0600E0600Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0601E0601Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0602E0602Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0603E0603Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0604E0604Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0605E0605Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0606E0606Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0607E0607Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0608E0608Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0609E0609Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0610E0610Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0614E0614Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0615E0615Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0616Code reads or writes a field that is private to the module that defines the struct. Make the field pub, or add a public method that gives the access the caller needs.
E0616field `{}` of struct `{}` is privateSee Encapsulation.
Source: doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0617E0617Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0618E0618Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0619The compiler no longer emits this error.
E0619Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0620E0620Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0621E0621Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0622The compiler no longer emits this error.
E0622Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0623E0623Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0624E0624Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0625E0625Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0626E0626Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0627E0627Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0628E0628Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0631E0631Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0632The compiler no longer emits this error.
E0632Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0633The compiler no longer emits this error.
E0633Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0634E0634Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0635E0635Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0636The compiler no longer emits this error.
E0636Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0637E0637Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0638E0638Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0639E0639Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0641E0641Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0642E0642Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0643E0643Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0644E0644Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0646E0646Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0647The compiler no longer emits this error.
E0647Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0648E0648Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0657E0657Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0658E0658Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0659E0659Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0660The compiler no longer emits this error.
E0660Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0661The compiler no longer emits this error.
E0661Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0662The compiler no longer emits this error.
E0662Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0663The compiler no longer emits this error.
E0663Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0664The compiler no longer emits this error.
E0664Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0665E0665Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0666E0666Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0667The compiler no longer emits this error.
E0667Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0668The compiler no longer emits this error.
E0668Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0669The compiler no longer emits this error.
E0669Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0670E0670Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
E0671The compiler no longer emits this error. The following is therefore invalid:
E0671Source: github.com, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.