Rust 컴파일러 에러에러
E0106E0106 — Missing Lifetime Specifier
A reference in a function signature or struct is missing a lifetime parameter.
rustcargo
상세 보기 clippy::unused_importsAn imported item is not used anywhere in the file.
A use statement imports a module, function, trait, or type that is not referenced in the code. This may be left over from refactoring or copy-pasting.
Remove the unused import. Use your editor's organize imports feature. Run cargo fix to automatically remove unused imports.
E0106A reference in a function signature or struct is missing a lifetime parameter.
panic-slice-index-out-of-rangeThe program panicked because a slice range is out of bounds.
E0597A reference outlives the data it points to.
E0308Different match arms return incompatible types.
E0433The module path used in a use statement or type path cannot be resolved.
E0015A non-const function is called in a constant expression context.