Skip to content

Commit

Permalink
move const definition
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmarkmartin committed Jul 13, 2023
1 parent ff25ebc commit a167e66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/rustc_smir/src/stable_mir/ty.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
use super::with;
use crate::rustc_internal::Opaque;

type Const = Opaque;

#[derive(Copy, Clone, Debug)]
pub struct Ty(pub usize);

Expand Down Expand Up @@ -53,5 +55,3 @@ pub enum FloatTy {
F32,
F64,
}

type Const = Opaque;

0 comments on commit a167e66

Please sign in to comment.