Uh oh!
There was an error while loading. Please reload this page.
add test for calling non-const fn - #65593
Merged
Merged
Conversation
Centril
reviewed
Oct 19, 2019
Uh oh!
There was an error while loading. Please reload this page.
Centril
approved these changes
Oct 19, 2019
This comment has been minimized.
This comment has been minimized.
oli-obk
reviewed
Oct 19, 2019
Uh oh!
There was an error while loading. Please reload this page.
oli-obk
commented
Oct 19, 2019
Contributor
yes, you used |
oli-obk
commented
Oct 19, 2019
Contributor
@bors r+ rollup |
bors
commented
Oct 19, 2019
Collaborator
📌 Commit 38fd74f has been approved by |
Centril added a commit
to Centril/rust
that referenced
this pull request
Oct 19, 2019
add test for calling non-const fn The good news is that there is an error. But I expected to see [this error](https://github.com/rust-lang/rust/blob/9578272d681c8691ca2ff3f5c4230b491bc1c694/src/librustc_mir/const_eval.rs#L346) surface. @oli-obk any idea why that message is not shown anywhere? r? @oli-obk
Centril added a commit
to Centril/rust
that referenced
this pull request
Oct 20, 2019
add test for calling non-const fn The good news is that there is an error. But I expected to see [this error](https://github.com/rust-lang/rust/blob/9578272d681c8691ca2ff3f5c4230b491bc1c694/src/librustc_mir/const_eval.rs#L346) surface. @oli-obk any idea why that message is not shown anywhere? r? @oli-obk
bors added a commit
that referenced
this pull request
Oct 20, 2019
Rollup of 6 pull requests Successful merges: - #64996 (Inline `ptr::null(_mut)` even in debug builds) - #65551 (Avoid realloc in `CString::new`) - #65593 (add test for calling non-const fn) - #65595 (move `parse_cfgspecs` to `rustc_interface`) - #65600 (Remove unneeded `ref` from docs) - #65602 (Fix plural mistake in emitter.rs) Failed merges: r? @ghost
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The good news is that there is an error. But I expected to see this error surface. @oli-obk any idea why that message is not shown anywhere?
r? @oli-obk