]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/type-ascription-instead-of-method.rs
Auto merge of #106696 - kylematsuda:early-binder, r=lcnr
[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 }