-
This code panics when compiled with #116505 with cross-crate inlining being turned on:
```rust
// src/main.rs
use lib;
fn main() { lib::verify(lib::create()); }
```
```rust
// src/lib.rs
…
-
Implement `Foldable` so that we can resolve props easily. Useful for monomorphization, since we need to resolve props that show up in if-else conditions, for one.
-
The following script should not fail on the assert.
```rust
script;
use std::assert::*;
trait Trait {
fn method(self) -> u64;
}
impl Trait for u64 {
fn method(self) -> u64{
…
-
I am trying to nail down in my mind, the fundamental _orthogonal_ semantic concepts of our proposed programming language.
| Concept | Description |
| --- | --- |
| `data` | [Unified sum, product,…
-
I'm trying to use the "profile-overrides" feature in cargo. The tracking issue for this feature is here: https://github.com/rust-lang/rust/issues/48683
The documentation for this is here: https://d…
-
This question is related [this PR](https://github.com/Byron/gitoxide/pull/992) over at `gitoxide` where I believe that it would be great if there was a tool that can point at duplication of functions …
-
We have previously [discussed](https://github.com/rust-lang/opsem-team/issues/10) that we want to make `offset(0)` always-defined, but never FCP's this decision. We also [discussed](https://github.com…
-
### Problem
The monomorphization pass currently contains a check to evaluate the array_len builtin function. This is somewhat odd as it is the only thing the pass will attempt to evaluate. This has c…
-
Trait constraints using `where` seem to be parsed but not yet handled in later stages: https://github.com/FuelLabs/sway/blob/dce836d9e78841dc35a184c918e15e8161cd1882/sway-core/src/semantic_analysis/as…
-
```rust
struct Struct(T);
impl std::ops::Deref for Struct {
type Target = dyn Fn(T);
fn deref(&self) -> &assert_mem_uninitialized_valid::Target {
unimplemented!()
}
}
f…