Esteban Kuber

Results 26 issues of Esteban Kuber

The guideline should make mention of defining a reasonable MSRV, how to go about doing so (explain how to install a specific Rust version using rustup and use it for...

# Proposal `#[rustc_on_unimplemented]` has shown its value, despite its many limitations. There are plenty of customized errors in the stdlib that would otherwise require careful customization of the error being...

T-compiler
final-comment-period
major-change

Currently the only way to reassign an already initialized field is through a mutable pointer, under the assumption that assigning to the same field multiple times is a mistake, but...

The appropriate representation for `MaybeUninit` is [`[MaybeUninit; N]`](https://doc.rust-lang.org/stable/std/mem/union.MaybeUninit.html#initializing-an-array-element-by-element). An array specific builder should be created so that an uninitialized array isn't possible while also allowing piece-meal setting of their fields.

Given ```rust fn foo() -> i32 { for i in 0..0 { return i; } } ``` the current output is ``` error[E0308]: mismatched types --> src/lib.rs:2:5 | 1 |...

A-diagnostics
T-compiler
A-suggestion-diagnostics
D-papercut
D-newcomer-roadblock
D-terse

In the same spirit as the following environment variable https://github.com/rust-lang/cargo/blob/dc83ead224d8622f748f507574e1448a28d8dcc7/src/cargo/ops/fix.rs#L419 `cargo fix` could try first applying all suggestions _and if it fails_ applying only the `MachineApplicable` ones. This could be...

When copying the stderr output from the compiler, it seems the clipboard now contains markdown for the link around error codes in the main message (or maybe it's HTML and...

_From https://news.ycombinator.com/item?id=39121489_ > I've had cargo fmt eat my files when I was out of disk space. It created a new file, but the file length was 0, and my...

When encountering a move error on a value within a loop of any kind, identify if the moved value belongs to a call expression that should not be cloned and...

T-compiler
S-waiting-on-review

Given `'hello world'` and `'1 str', provide a structured suggestion for a valid string literal: ``` error[E0762]: unterminated character literal --> $DIR/lex-bad-str-literal-as-char-3.rs:2:26 | LL | println!('hello world'); | ^^^^ |...

T-compiler
S-waiting-on-author