diff options
| author | bors <bors@rust-lang.org> | 2018-05-11 23:06:27 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-05-11 23:06:27 +0000 |
| commit | 388df823e8deaea8150457cd3607d6c8cfc71ff1 (patch) | |
| tree | ad8879b0aaacc05cace38b1d4440d7991ef3ffa3 /src/liballoc | |
| parent | 0cd465087d800f6e1183ed3e8a71262039245902 (diff) | |
| parent | 17c56d409ec43f8492b4ffd5117fcee6c4ce0a27 (diff) | |
| download | rust-388df823e8deaea8150457cd3607d6c8cfc71ff1.tar.gz rust-388df823e8deaea8150457cd3607d6c8cfc71ff1.zip | |
Auto merge of #50161 - rizakrko:impl_note, r=estebank
added missing implementation hint
Fixes [#50151](https://github.com/rust-lang/rust/issues/50151).
Actually, i don't know, should following code
`let x = |ref x: isize| { x += 1; };`
emit
`note: an implementation of std::ops::AddAssign might be missing for &isize`
or
`note: this is a reference to a type that + can be applied to; you need to dereference this variable once for this operation to work`
or both
Diffstat (limited to 'src/liballoc')
0 files changed, 0 insertions, 0 deletions
