]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/type-ascription-instead-of-method.fixed
Rollup merge of #106446 - bzEq:fix-unwind-lsda, r=Amanieu
[rust.git] / tests / ui / suggestions / type-ascription-instead-of-method.fixed
1 // run-rustfix
2 fn main() {
3     let _ = Box::new("foo".to_string());
4     //~^ ERROR expected type, found
5 }