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

Make const_eval of literals more type aware #18538

Closed
wants to merge 1 commit into from
Closed

Make const_eval of literals more type aware #18538

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Nov 2, 2014

Closes #12501.
Fixes #16745.
Fixes #17631.

@alexcrichton
Copy link
Member

I think this caused a regression actually:

---- [run-pass] run-pass/match-range.rs stdout ----

        error: compilation failed!
        status: exit code: 101
        command: x86_64-unknown-linux-gnu/stage2/bin/rustc /home/alex/code/rust4/src/test/run-pass/match-range.rs -L x86_64-unknown-linux-gnu/test/run-pass --target=x86_64-unknown-linux-gnu -L x86_64-unknown-linux-gnu/test/run-pass/match-range.stage2-x86_64-unknown-linux-gnulibaux -C prefer-dynamic -o x86_64-unknown-linux-gnu/test/run-pass/match-range.stage2-x86_64-unknown-linux-gnu --cfg rtopt --cfg debug -C rpath -L x86_64-unknown-linux-gnu/rt
        stdout:
        ------------------------------------------

        ------------------------------------------
        stderr:
        ------------------------------------------
        /home/alex/code/rust4/src/test/run-pass/match-range.rs:32:7: 32:12 error: lower range bound must be less than upper [E0030]
        /home/alex/code/rust4/src/test/run-pass/match-range.rs:32       -7...5 => {}
                                                                        ^~~~~
        error: aborting due to previous error

        ------------------------------------------

        task '[run-pass] run-pass/match-range.rs' panicked at 'explicit panic', /home/alex/code/rust4/src/compiletest/runtest.rs:1485



@alexcrichton
Copy link
Member

ping @jakub-, any update on this (just trying to clear out the queue)

@ghost
Copy link
Author

ghost commented Nov 22, 2014

@alexcrichton I'll get to this, closing for now.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant