1 // Regression test for #36053. ICE was caused due to obligations 2 // being added to a special, dedicated fulfillment cx during 3 // a probe. 4 5 use std::iter::once; main()6fn main() { 7 once::<&str>("str").fuse().filter(|a: &str| true).count(); 8 //~^ ERROR the method 9 //~| ERROR type mismatch in closure arguments 10 } 11