edbbfad88f
Fix #58815.
7 lines
153 B
Rust
7 lines
153 B
Rust
fn main() {
|
|
let a: String = &String::from("a");
|
|
//~^ ERROR mismatched types
|
|
let b: String = &format!("b");
|
|
//~^ ERROR mismatched types
|
|
}
|