Update E0102's example (fixes #33057)#33058
Conversation
|
@bors delegate=GuillaumeGomez |
|
✌️ @GuillaumeGomez can now approve this pull request |
src/librustc_typeck/diagnostics.rs
Outdated
There was a problem hiding this comment.
rust flag isn't needed in this case as far as I know. If no option is passed, the code is compiled and run.
There was a problem hiding this comment.
Yeah I like to be explicit about this.
There was a problem hiding this comment.
If we keep it, it'll be the only place where such a flag is used. Also, by default, it is rust code. We only precise it when it's not.
|
Except for the nit (not really one but I like to remain consistent with the other error codes examples), it's all good. Thanks! |
|
Fixes #33057. |
|
@bors: rollup |
|
@bors r=GuillaumeGomez rollup @GuillaumeGomez you need to have |
|
📌 Commit f089cf9 has been approved by |
|
⌛ Testing commit f089cf9 with merge 7893b46... |
|
💔 Test failed - auto-mac-64-opt-rustbuild |
|
@bors: retry On Mon, Apr 18, 2016 at 9:53 AM, bors notifications@github.com wrote:
|
Update E0102's example (fixes rust-lang#33057) r? @GuillaumeGomez
r? @GuillaumeGomez