You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling impl-trait v0.1.0 (file:///Users/blu/Documents/playground/impl-trait)
Running `rustc --crate-name impl_trait src/main.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=33cb8f6c497adcee -C extra-filename=-33cb8f6c497adcee --out-dir /Users/blu/Documents/playground/impl-trait/target/debug/deps -C incremental=/Users/blu/Documents/playground/impl-trait/target/debug/incremental -L dependency=/Users/blu/Documents/playground/impl-trait/target/debug/deps`
thread 'rustc' has overflowed its stack
fatal runtime error: stack overflow
error: Could not compile `impl-trait`.
Caused by:
process didn't exit successfully: `rustc --crate-name impl_trait src/main.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=33cb8f6c497adcee -C extra-filename=-33cb8f6c497adcee --out-dir /Users/blu/Documents/playground/impl-trait/target/debug/deps -C incremental=/Users/blu/Documents/playground/impl-trait/target/debug/incremental -L dependency=/Users/blu/Documents/playground/impl-trait/target/debug/deps` (signal: 6, SIGABRT: process abort signal)
The text was updated successfully, but these errors were encountered:
0x0blu
changed the title
rustc 1.26.0 does crashes when compiling some programs using impl Trait
rustc 1.26.0 crashes when compiling some programs using impl Trait
May 10, 2018
While testing the new
1.26.0
'simpl Trait
feature, there were some programs that causedrustc
to stack overflow without very helpful error messageI tried this code:
I expected to see this happen: the program compiles and just prints
1
Instead, this happened:
rustc
crashed with cryptic error messageMeta
rustc --version --verbose
:Backtrace:
cargo run --verbose
:The text was updated successfully, but these errors were encountered: