]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #35355 - shri3k:E0046, r=jonathandturner
authorJonathan Turner <jonathandturner@users.noreply.github.com>
Sun, 7 Aug 2016 16:59:40 +0000 (09:59 -0700)
committerGitHub <noreply@github.com>
Sun, 7 Aug 2016 16:59:40 +0000 (09:59 -0700)
commit0b567c68da6bb3f95dc847fa2991f2aa3d728a87
tree684501fdc0d0c0fd4dcf25679442967c71813de5
parentf9f6fd4fbb2c57472ec1019e553332a82da2d89b
parented72c65f7291c893856d9bf220ab9b585939e724
Rollup merge of #35355 - shri3k:E0046, r=jonathandturner

Updates compiler error E0046 with new format

Addresses #35209 as part of #35233.
r? @jonathandturner

I've repeated the following in my code. If this is something not desirable then let me know if there's any process to make this any cleaner. Thank you.
```rust
missing_items.iter()
    .map(|name| name.to_string())
     .collect::<Vec<_>>().join("`, `"))
```
src/librustc_typeck/check/mod.rs
src/test/compile-fail/impl-wrong-item-for-trait.rs