Skip to content

Commit

Permalink
Fix comment on scalar_int_to_rty_constant
Browse files Browse the repository at this point in the history
  • Loading branch information
nilehmann committed Jul 25, 2024
1 parent c81c92d commit cf6ff67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/flux-middle/src/const_eval.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ use rustc_type_ir::{IntTy, UintTy};

use crate::rustc::{self, lowering::lower_ty, mir::Constant};

// FIXME(nilehmann) We are using this during lowering to evaluate constants annotated. We should
// do the evaluation later in the pipeline.
// FIXME(nilehmann) We are using this during desugaring to evaluate constants annotated with
// `#[flux::constant]`. We should do the evaluation later in the pipeline.
pub fn scalar_int_to_rty_constant<'tcx>(
tcx: TyCtxt<'tcx>,
scalar: rustc_ty::ScalarInt,
Expand Down

0 comments on commit cf6ff67

Please sign in to comment.