rename constants in mir dump test
This commit is contained in:
parent
afccc44402
commit
261c023123
@ -1,13 +1,13 @@
|
||||
// EMIT_MIR issue_110508.{impl#0}-BAR1.built.after.mir
|
||||
// EMIT_MIR issue_110508.{impl#0}-BAR2.built.after.mir
|
||||
// EMIT_MIR issue_110508.{impl#0}-BAR.built.after.mir
|
||||
// EMIT_MIR issue_110508.{impl#0}-SELF_BAR.built.after.mir
|
||||
|
||||
enum Foo {
|
||||
Bar(()),
|
||||
}
|
||||
|
||||
impl Foo {
|
||||
const BAR1: Foo = Foo::Bar(());
|
||||
const BAR2: Foo = Self::Bar(());
|
||||
const BAR: Foo = Foo::Bar(());
|
||||
const SELF_BAR: Foo = Self::Bar(());
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
|
@ -1,6 +1,6 @@
|
||||
// MIR for `<impl at $DIR/issue_110508.rs:8:1: 8:9>::BAR1` after built
|
||||
// MIR for `<impl at $DIR/issue_110508.rs:8:1: 8:9>::BAR` after built
|
||||
|
||||
const <impl at $DIR/issue_110508.rs:8:1: 8:9>::BAR1: Foo = {
|
||||
const <impl at $DIR/issue_110508.rs:8:1: 8:9>::BAR: Foo = {
|
||||
let mut _0: Foo;
|
||||
let mut _1: ();
|
||||
|
@ -1,6 +1,6 @@
|
||||
// MIR for `<impl at $DIR/issue_110508.rs:8:1: 8:9>::BAR2` after built
|
||||
// MIR for `<impl at $DIR/issue_110508.rs:8:1: 8:9>::SELF_BAR` after built
|
||||
|
||||
const <impl at $DIR/issue_110508.rs:8:1: 8:9>::BAR2: Foo = {
|
||||
const <impl at $DIR/issue_110508.rs:8:1: 8:9>::SELF_BAR: Foo = {
|
||||
let mut _0: Foo;
|
||||
let mut _1: ();
|
||||
|
Loading…
x
Reference in New Issue
Block a user