#![allow(unused_variables)] fn main() { use std::collections::TryReserveError; fn process_data(data: &str) -> Result { let mut output = String::new(); output.try_reserve(data.len())?; output.push_str(data); Ok(output) } process_data("rust").expect("why is the test harness OOMing on 4 bytes?"); }