León Orell Valerian Liehr
León Orell Valerian Liehr
[Literate Haskell](https://wiki.haskell.org/Literate_programming) is an alternative form of Haskell code where comments are the default and code is marked special. It's not uncommon. The file extension is `.lhs` but the data...
Syntax support for `#![feature(inline_const)]` was added in #7010 (rust-analyzer/ungrammar#17). However, r-a fails to parse the following code whereas rustc accepts it: ```rust fn f() { match () { () =>...
I would expect the following code to compile successfully since we explicitly opt out of implementing `Copy`: ```rust #![feature(negative_impls)] #![deny(missing_copy_implementations)] #![crate_type = "lib"] pub struct Struct { pub field: i32,...
You can already implement `!Copy` for a lot of types (with `#![feature(negative_impls)]`). However, before this PR you could not implement `!Copy` for ADTs whose fields don't implement `Copy` which didn't...
Don't blindly emit a diagnostic claiming that “*`main` has an invalid return type*” if we encounter a type that should but doesn't implement `std::process::Termination` and isn't actually the return type...
The following programs get wrongfully rejected since my PR #119505 (nightly-2024-01-04): ```rs pub struct S; trait Trait { fn provided() { impl S { pub fn perform() {} //~ ERROR...
The first commit is just drive-by cleanup. Provide a structured suggestion if the user forgot to prefix a “const parameter” with `const`, e.g., in `struct Tagged;`. This happens to me...
> Manually transferred from rust-lang/rust#120551. > Originally reported by @max-ishere. --- `cargo fmt` fails to format document with `#[test_case()]` macro when there is a trailing space inside the macro. Code...
I don't know when exactly this was changed since I effectively took a break from hacking on rustdoc for a few months until last month. I faintly remember a smaller...
See rust-lang/compiler-team#723. Blocked on rust-lang/rust#120926.