Nilstrieb

Results 38 issues of Nilstrieb

At the start of chapter 10-03, the concept of a "lifetime" is introduced, by talking about the concrete lifetimes of values. These lifetimes are referred to using `'a` and `'b`....

Enhancement
Q for ourselves

I have seen #71, but Miri reports the same issue. In Miri, it exhibits itself through a UAF, though I assume the cause to be the same. Sometimes, Miri reports...

The old version was not very idiomatic, containing the arguments and the return type. The new version is taken directly from examples in `std`, having some space for a general...

feature

## Environment * **IntelliJ Rust plugin version:** `0.4.173.4714-221` * **Rust toolchain version:** `1.63.0-nightly` * **IDE name and version:** CLion 2022.1.3 * **Operating system:** Windows 11 + WSL2 (development in WSL2)...

subsystem::code insight
bug
rust

This MIR transform inserts the same validity checks from `mem::{uninitialized,zeroed}` to `MaybeUninit::{uninit,zeroed}().assume_init()`. We have been panicking in `mem::uninit` on invalid values for quite some time now, and it has helped...

T-compiler
S-waiting-on-author
T-libs

https://crater-reports.s3.amazonaws.com/pr-115235/try%235a3d3b91048a0adf280e7a4e589c1dda6443f172/gh/SapientAsh.solstice_calculator/log.txt This is a spurious error but isn't marked as such. ``` [INFO] [stdout] = note: /usr/bin/ld: final link failed: No space left on device [INFO] [stdout] collect2: error: ld...

This makes it less opinionated. cc @Nadrieril @fee1-dead i know you're using nixos

[Rendered](https://github.com/Nilstrieb/rfcs/blob/relax_const_restrictions/text/3351-relax-const-restrictions.md)

T-lang
A-const-eval

When a function is inlined, it's sometimes marked as not executed. **To Reproduce** ```rust fn lol() {} pub fn uwu() { lol(); } #[test] fn wow() { uwu(); } ```...

accuracy