Rustc failed to compile binary

let mut tree_vec = ManuallyDrop (Vec::< *mut tree_of_prox >::new() );
let _kids =Box::into_raw ( Box::new( tree_vec ) );`

compiler falls in endless loop.

This older blog post may help in reducing the example to figure out what part is causing the compiler error. I originally found it linked on this forum.

Rust Bug Minimization Patterns

With a minimal example that produces the same compiler error, it may be easier to understand the issue.

1 Like