Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update E0102's example (fixes #33057) #33058

Merged
merged 1 commit into from
Apr 19, 2016
Merged

Conversation

Manishearth
Copy link
Member

@Manishearth Manishearth commented Apr 17, 2016

@Manishearth
Copy link
Member Author

@bors delegate=GuillaumeGomez

@bors
Copy link
Collaborator

bors commented Apr 17, 2016

✌️ @GuillaumeGomez can now approve this pull request

}
```

To solve this situation, constrain the type of the variable.
Examples:

```no_run
```rust
Copy link
Member

@GuillaumeGomez GuillaumeGomez Apr 17, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rust flag isn't needed in this case as far as I know. If no option is passed, the code is compiled and run.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I like to be explicit about this.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@GuillaumeGomez
Copy link
Member

GuillaumeGomez commented Apr 17, 2016

Except for the nit (not really one but I like to remain consistent with the other error codes examples), it's all good. Thanks!

@GuillaumeGomez
Copy link
Member

Fixes #33057.

@GuillaumeGomez
Copy link
Member

@bors: rollup

@Manishearth
Copy link
Member Author

@bors r=GuillaumeGomez rollup

@GuillaumeGomez you need to have r+ somewhere in the command

@bors
Copy link
Collaborator

bors commented Apr 18, 2016

📌 Commit f089cf9 has been approved by GuillaumeGomez

@bors
Copy link
Collaborator

bors commented Apr 18, 2016

⌛ Testing commit f089cf9 with merge 7893b46...

@bors
Copy link
Collaborator

bors commented Apr 18, 2016

💔 Test failed - auto-mac-64-opt-rustbuild

@alexcrichton
Copy link
Member

@bors: retry

On Mon, Apr 18, 2016 at 9:53 AM, bors notifications@github.com wrote:

[image: 💔] Test failed - auto-mac-64-opt-rustbuild
http://buildbot.rust-lang.org/builders/auto-mac-64-opt-rustbuild/builds/752


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#33058 (comment)

steveklabnik added a commit to steveklabnik/rust that referenced this pull request Apr 18, 2016
bors added a commit that referenced this pull request Apr 18, 2016
Rollup of 6 pull requests

- Successful merges: #32558, #32906, #33007, #33008, #33035, #33058
- Failed merges: #32912
@bors bors merged commit f089cf9 into rust-lang:master Apr 19, 2016
@Manishearth Manishearth deleted the fx-E0102 branch December 2, 2016 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants