]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/type-ascription-instead-of-method.fixed
Rollup merge of #106638 - RalfJung:realstd, r=thomcc
[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 }