-
I'm trying to implement something like c++ `std::conditional_t` with `generic_const_exprs`. The follower code just works but much verbose due to lack of type alias inside struct.
### Code
```Rus…
-
### Code
```Rust
use futures::{stream, StreamExt};
use reqwest::Client;
async fn works(client: &Client, base_url: &str) {
let _: Vec = stream::iter(&[1])
.map(|_| async {
…
-
I'm following the guide here for a Docker install --> https://benotes.org/docs/installation/docker
Note, I'm running on Debian Bullseye. When I reach the step to run "php artisan install --only-us…
-
### Code
https://gist.github.com/nonetype/817435fbc5a562d61265a0d4cb3820b3
### Env
```sh
DUMP_VIPER_PROGRAM=true RUST_BACKTRACE=1 ~/prusti-dev/target/debug/cargo-prusti
```
### Log
```
thr…
-
auto-reduced (treereduce-rust):
````rust
use std::ops::Coroutine;
const FOO_SIZE: usize = 1024;
struct Foo([u8; FOO_SIZE]);
impl Drop for Foo {
fn move_before_yield_with_noop() -> im…
-
auto-reduced (treereduce-rust):
````rust
struct S0();
impl S0 {
fn foo() {
fn bar() -> S0 {
Self()
}
}
}
````
original:
code from #117246 …
-
auto-reduced (treereduce-rust):
````rust
pub trait TraitCat {}
pub trait TraitDog {}
pub fn gamma(t: [TraitDog; 32]) {}
````
original:
````rust
pub struct P;
pub struct R(T);
pub…
-
Unminimized example:
```
error[E0283]: type annotations needed
--> crates/websocat-ioless/src/lib.rs:346:27
|
346 | let w = w.sink_map_err(|e : std::io::Error |e.into());…
-
Hi there,
Here's a little TODO from my codebase:
```
// TODO(rrodriguez): report compiler bug - obfuscation of "float" property.
leftHelper.style['float'] = 'left';
leftHelper.innerText =…
-
I'm using closure library with goog.require syntax, e.g.
```javascript
goog.require('goog.net.createWebChannelTransport');
```
On compilation, I got error that says required "goog.net.createWebCh…