León Orell Valerian Liehr

Results 31 issues of León Orell Valerian Liehr

Not ready for crater yet since this patch can't build stage1 std at the moment :smiling_face_with_tear:, still need to figure that out. I've at least managed to make it build...

T-compiler
S-waiting-on-author
S-experimental
F-lazy_type_alias

Instead of trying to re-resolve the type of assoc const bindings inside the `type_of` query impl in an incomplete manner, transfer the already (correctly) resolved type from `add_predicates_for_ast_type_binding` to `type_of`/`anon_type_of`...

T-compiler
S-waiting-on-bors
T-types
F-associated_const_equality

I'm surprised my naive approach seems to work but it feels more than hacky (skipping name resolution entirely). I hope to gather some feedback for how to make this more...

A-diagnostics
T-compiler
S-experimental

`tests/rustdoc/line-breaks.rs` had several issues: 1. It used `//@count` instead of `// @count` (notice the space!) which gets treated as a `ui_test` directive instead of a `htmldocck` one. `compiletest` didn't flag...

A-testsuite
T-rustdoc
T-bootstrap
S-waiting-on-review

Split off from #119385 to make #119385 easier to review. --- In the *instantiated* type of assoc const bindings 1. reject **early-bound generic params** * Provide a rich error message...

S-waiting-on-author
T-types
F-associated_const_equality

For context, we want to treat lazy type aliases / weak alias types just like ADTs when computing implied bounds (#118479, T-lang design meeting 2023-11-09) but the way I've implemented...

S-waiting-on-review
T-types
A-implied-bounds
F-lazy_type_alias

Fixes #99554, fixes rust-lang/types-team#104. Supersedes #100555. r? lcnr

final-comment-period
S-waiting-on-author
disposition-merge
T-types

This code crashes the compiler: ```funky func foo : a = switch 0 case foozle func bar : Int = 0 ``` With this error message: ``` panic: runtime error:...

If you use keywords (`func`, `alias`, `record`, `union`) in places where identifiers are expected, the compiler does not give a reasonable report but crashes. Faulty inputs might look like: `alias...

Per definition, the literal `0` is of type `Int` and the literal `0.0` is of type `Float`. Thus, both lines below correctly fail to type-check: ```funky (self : Int ->...