-
- Stable as of Rust 1.82
- RFC accepted: https://rust-lang.github.io/rfcs/3617-precise-capturing.html
- Requires rustdoc JSON: v32 (`rustdoc-types` v0.28)
- Requires new Trustfall schema before lin…
-
With Swift 5.7's improved generic and protocol types (specifically with implicit existential unwrapping, primary associated types, and more) we can now begin to unwind some of the awkward decisions th…
-
Generalise penalty function associated with Powersource device type to be generic for all device types
input should have two parameters:
* penalty_function = [[x1,..xn],[y1,...,yn]] - piecewise li…
-
This is to highlight the issue with the cache metrics and discuss how to
handle it with respect to the new generic typed cache.
At present, in source-controller we have a custom cache implementati…
-
I'd like to be able to do something like this:
```pkl
class MyA {
properties: Properties
class Properties {
prop1: String
}
}
class MyB {
properties: Properties
class P…
HT154 updated
2 weeks ago
-
I tried this code:
```rust
struct HasGeneric(T);
trait GatFoo {
type Foo: GatBar;
}
trait GatBar {
type Bar;
}
impl GatBar for HasGeneric {
type Bar = HasGeneric;
}
…
-
Right now the builtins are defined as embedded noname code. Here's `assert_eq`:
```rust
const ASSERT_EQ_FN: &str = "assert_eq(lhs: Field, rhs: Field)";
```
The string gets parsed by a fake min…
mimoo updated
2 months ago
-
To infer the [default trait object lifetime](https://doc.rust-lang.org/reference/lifetime-elision.html#default-trait-object-lifetimes) of a trait object type, we first look at the bounds on the releva…
-
I tried this code:
```rust
#![feature(generic_associated_types)]
pub struct Structure {
f: F,
}
pub trait Trait {
type Gat F: FnOnce(Self::Gat = String;
}
```
https://pla…
-
An internal compiler error is being produced when an union of generic record types is a type of a function argument whose function is inside a record definition. This can be illustrated with the follo…