-
While using the winres crate this was the build.rs script for applying a .ico for my executable. As soon as the build.rs script was removed my project compiled successfully without either being hu…
-
### Code
```Rust
use std::env;
fn main() {
let args: Vec = env::args().collect();
if args.len() < 2 {
println!("Commands: create | complete | remove | view ");
}…
-
### Code
```Rust
// use std::convert::TryInto;
fn main() {
println!("Hello, World!");
let mut vec = Vec::new();
vec.push(1);
vec.push(2);
// let buf: [u8; 2] = …
-
### Code
```Rust
#![feature(const_generics)]
struct Foo {}
impl Foo {}
```
### Meta
`rustc --version --verbose`:
```
rustc 1.54.0-nightly (0a8629bff 2021-06-11)
binary: rustc
…
-
### Code
```Rust
use std::cmp::Ordering;
use std::io;
fn main() {
println!("Guess my number!");
let my_num = rand::random::();
let mut tries = 0;
loop {
le…
-
I'm creating this issue mainly because it seems to be a different one than the ones listed in https://github.com/rust-lang/rust/issues/76560
### Code
```Rust
#![feature(const_generics)]
#!…
-
### Error info
Hello rust crew!
This could be my own fault but I was not able to find documentation on any other way to do this.
What I am trying to do:
I am writing a pretty simple…
-
### Code
```Rust
use actix_web::{HttpServer,App};
mod fighter;
mod controller;
#[actix_web::main]
async fn main() -> std::io::Result {
HttpServer::new(|| {
App::new()
…
-
### Code
code reduced slightly from ./src/test/ui/issues/issue-44005.rs, crashes with `--emit=mir -Zmir-opt-level=2`
```Rust
// build-pass
pub trait Foo Self::Bar;
}
impl for &'b T {
…
-
From https://github.com/westnordost/StreetComplete/issues/1281#issuecomment-443621518
> It's often impossible (!) to solve these quests at daylight time when the lights are out. For example: Does a…