Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upCompilation fails without error message #41139
Comments
This comment has been minimized.
This comment has been minimized.
|
According to the Playpen, this actually segfaults the compiler (on all channels). Doing a Release build reveals why (on stable and beta):
On nightly, the error is different (since LLVM assertions are enabled, even though they don't catch the error in debug builds):
|
This comment has been minimized.
This comment has been minimized.
|
This is a regression form 1.11 to 1.12, likely introduced by mir -- 1.12 + |
This comment has been minimized.
This comment has been minimized.
|
Backtrace on nightly:
|
This comment has been minimized.
This comment has been minimized.
|
This is not supposed to compile. We are taking a reference to an unsized rvalue, which is silly. |
arielb1
added
the
I-nominated
label
Apr 11, 2017
brson
assigned
arielb1
Apr 11, 2017
bors
closed this
in
0144613
Apr 12, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
memoryleak47 commentedApr 7, 2017
This rust code fails in compilation without error message:
When compiling with
cargo build --verboseI get:rustc --version --verbose: