1 error: expected type, found `"foo"`
2 --> $DIR/type-ascription-instead-of-method.rs:2:13
4 LL | Box:new("foo".to_string())
5 | - ^^^^^ expecting a type here because of type ascription
7 | help: maybe you meant to write a path separator here: `::`
9 error: aborting due to previous error