Lars Schumann

Results issues of Lars Schumann

I'm currently doing rustlings and struggled with iterators3 and searched a solution, which i thought i found [here](https://github.com/wh5a/rustlings-solutions/blob/main/exercises/18_iterators/iterators3.rs). It implements one of the functions to edit like this: ```rust fn...

C-enhancement
A-exercises
P-medium

### Summary This lint disagrees with rustc if a function can be const in certain situations involving the nightly #![feature(const_trait_impl)]. ### Lint Name missing_const_for_fn ### Reproducer I tried this code:...

C-bug
I-suggestion-causes-error
I-false-positive

### What it does Suggest to add `const {}` blocks around every¹ const evaluatable expression. ¹There are many cases where this would probably do nothing, these would need to be...

A-lint

```rust #![no_implicit_prelude] extern crate alloc; use alloc::boxed; use alloc::vec; use alloc::vec::Vec; fn main() { let _: Vec = vec![]; } ``` turns into ```rust #![no_implicit_prelude] extern crate alloc; use alloc::{...

C-bug
only-with-option
I-invalid-code
S-has-mcve
UO-imports_granularity
I-changes-semantics