rust/tests/ui/issues/issue-41394.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
143 B
Rust
Raw Normal View History

enum Foo {
A = "" + 1
2019-12-11 22:11:32 +00:00
//~^ ERROR cannot add `{integer}` to `&str`
}
enum Bar {
A = Foo::A as isize
//~^ const
}
fn main() {}