-
Right now, we do not support stubbing methods declared in traits. Consider this example:
```rust
trait A {
fn foo(&self) -> u32;
fn bar(&self) -> u32;
}
trait B {
fn bar(&self…
-
With https://github.com/rust-lang/rust/pull/56123, we can bypass const qualification, so we can e.g. write constants that read from interior mutable statics, and probably other things I forgot to thin…
-
Note: I don't have a concrete proposal here, just spitballing.
One thing that's currently kind of tricky is updating `block-buffer`, because `block-buffer` (utils repo) depends on `crypto-common` (…
-
At the moment, mutable state in Effekt is modelled with instances of the `Region` interface:
- global mutable state is a global, toplevel capability of type `Region` that we can allocate global var…
-
Interesting project. A few questions, would appreciate realistic answers, because other UI crate owners in my experience often respond with "everything is possible" which is not helpful,
1) Is the …
-
As the title suggests, I'd like to see field types get refined based on the generic instantiation of a generic base class implemented by a derived type.
Given the following example and sharplab
…
-
There is now a serious proposal and plan to stabilize `#![feature(min_const_generics)]` in Rust 1.50: https://github.com/rust-lang/rust/pull/79135. Using it here and removing the `Array` trait would a…
-
Thanks for the crate! Could you use a Read + Seek bound instead of the custom Ext4Read trait? Using a Read+Seek bound would allow memory-mapping (instead of read syscalls; implementing Ext4Read for `&…
-
### Review Mojo's priorities
- [X] I have read the [roadmap and priorities](https://docs.modular.com/mojo/roadmap.html#overall-priorities) and I believe this request falls within the priorities.
…
-
While is very important to not have `static` or `const` items of such types, during the evaluation of a `static` or `const` item we might want to work with intermediate values of this type.
E.g.
…