Skip to content

Commit a167e66

Browse files
move const definition
1 parent ff25ebc commit a167e66

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_smir/src/stable_mir

1 file changed

+2
-2
lines changed

compiler/rustc_smir/src/stable_mir/ty.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
use super::with;
22
use crate::rustc_internal::Opaque;
33

4+
type Const = Opaque;
5+
46
#[derive(Copy, Clone, Debug)]
57
pub struct Ty(pub usize);
68

@@ -53,5 +55,3 @@ pub enum FloatTy {
5355
F32,
5456
F64,
5557
}
56-
57-
type Const = Opaque;

0 commit comments

Comments
 (0)