-
I tried this code:
```rust
static mut FOO: Foo = Foo {
field: &mut [42] as *mut [i32] as *mut i32,
};
struct Foo {
field: *mut i32,
}
unsafe impl Sync for Foo {}
#[kan…
-
auto-reduced (treereduce-rust):
````rust
trait T {}
type Alias T for &'a S {}
fn with_positive(fun: impl Fn(Alias = impl T;
struct S;
impl) {
with_positive(|&a| ());
}
````
…
-
```rust
trait Trait {
fn foo(&self) -> u32 { 0 }
}
struct F;
impl Trait for S {
reuse to_reuse::foo { self }
reuse ::foo;
}
```
`rustfmt 1.7.0-nightly (7ffc697 2024-01-24)`…
-
### Code
The Bug is not reproducible. I started removing code portions and it went away. When i returned to the original codebase the error did not show up anymore.
```Rust
```
### Met…
-
### Code
`fn main() {}`
### Meta
`Cargo.toml`:
```
[package]
name = "sea-orm-bakery-backend"
version = "0.1.0"
edition = "2021"
[dependencies]
futures = "0.3.28"
sea-orm = { versi…
-
### Check for existing issues
- [X] Completed
### Describe the bug / provide steps to reproduce it
Seemingly random crashes occur at any time
built from commit 8583c3bd94f4797395c1266f9f56…
-
I tried to build few examples on Windows and was getting the error:
```
error: `-Csplit-debuginfo=unpacked` is unstable on this platform
```
Once I commented the line `split-debuginfo = "unp…
-
### Describe the bug
As noted by @xiangjinwu in https://github.com/risingwavelabs/risingwave/issues/17461#issuecomment-2194269414, the following query will panic compute node because the given `int…
stdrc updated
1 month ago
-
I am very sorry, but I cannot seem to reproduce the bug easily.
Using the [Diesel ORM](https://diesel.rs/) and the [diesel-derive-enum](https://github.com/adwhit/diesel-derive-enum) crate, I w…
-
Running monolith with in the following way:
`RUST_BACKTRACE=full monolith https://win98icons.alexmeub.com/ -o test.html `
gives me the following backtrace:
```
thread 'main' panicked at /home/…