Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/librustc_typeck/diagnostics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2717,7 +2717,7 @@ Rust does not currently support this. A simple example that causes this error:

```compile_fail
fn main() {
let _: Box<std::io::Read+std::io::Write>;
let _: Box<std::io::Read + std::io::Write>;
}
```

Expand All @@ -2727,7 +2727,7 @@ following compiles correctly:

```
fn main() {
let _: Box<std::io::Read+Copy+Sync>;
let _: Box<std::io::Read + Send + Sync>;
}
```
"##,
Expand Down