]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/type-ascription-instead-of-method.fixed
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[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 }