-
### Code
```Rust
fn main() {
std::
}
```
### Meta
`rustc --version --verbose`:
```
rustc 1.49.0-nightly (25f6938da 2020-11-09)
binary: rustc
commit-hash: 25f6938da459a57b4…
-
### Code
```Rust
fn print(input_string: String) {
println!("{}", input_string);
}
fn main() {
let test_string = "Hello, world!";
print(test_string.to_string());
}
```
…
-
### Code
I can't provide code.
### Meta
`rustc --version --verbose`:
```
rustc 1.53.0-nightly (07e0e2ec2 2021-03-24)
binary: rustc
commit-hash: 07e0e2ec268c140e607e1ac7f49f145612d…
ghost updated
3 years ago
-
### Code
```Rust
type Example = futures::future::BoxFuture;
```
e.g.: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=cbb80560be88e3d7622942d6d383f79a
### Meta
…
-
Found while testing https://github.com/brave/brave-browser/issues/11618
This is a regression. Not reproducible in 1.31.46. Reproducible in 1.31.47
## Steps to Reproduce
1. Clean profile
…
-
### Code
```Rust
use hyper::service::{make_service_fn, service_fn};
use hyper::{Body, Method, Request, Response, Server, StatusCode};
/// This is our service handler. It receives a Request…
-
The bug should be different from https://github.com/rust-lang/rust/issues/61335, as the stack traces are different.
### Code
```Rust
static NONE: (AsRef, u8);
```
### Meta
`rustc…
-
### Code
```Rust
//main.rs
use csv;
fn main() {
println!("Hello, rust!");
let mut rdr = csv ::Reader::from_reader(std::io::stdin());
for result in rdr.records(){
…
-
Code example from https://github.com/rust-lang/rust-clippy/issues/6792,
the pr (https://github.com/rust-lang/rust-clippy/pull/6812) doesn't seem to fix it
### Code
```rust
struct Test {}…
-
[dependencies]
rocket = "0.4.7"
### Code
```Rust
#![feature(proc_macro_hygiene, decl_macro)]
#[macro_use] extern crate rocket;
#[get("/")]
fn index() -> &'static str {
"Hello, wo…