blob: 61fb67174fde4f593f9b5460336d0a2aace38f48 [file]
// Test for #151358, assertion failed: !worker_thread.is_null()
//~^ ERROR internal compiler error: query cycle when printing cycle detected
//~^^ ERROR cycle detected when getting the resolver for lowering
//
//@ compile-flags: -Z threads=2
//@ compare-output-by-lines
trait Default {}
use std::num::NonZero;
fn main() {
NonZero();
todo!();
}