]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/type-ascription-instead-of-method.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / tests / ui / suggestions / type-ascription-instead-of-method.rs
1 // run-rustfix
2 fn main() {
3     let _ = Box:new("foo".to_string());
4     //~^ ERROR expected type, found
5 }