mirror of
https://git.proxmox.com/git/rustc
synced 2025-07-02 19:04:31 +00:00
11 lines
128 B
Rust
11 lines
128 B
Rust
enum Foo {
|
|
A = "" + 1
|
|
//~^ ERROR cannot add `{integer}` to `&str`
|
|
}
|
|
|
|
enum Bar {
|
|
A = Foo::A as isize
|
|
}
|
|
|
|
fn main() {}
|