Skip to content

Commit

Permalink
Update src/librustc_mir/interpret/terminator.rs
Browse files Browse the repository at this point in the history
Co-Authored-By: Ralf Jung <post@ralfj.de>
  • Loading branch information
oli-obk and RalfJung committed Dec 4, 2019
1 parent 55840b0 commit af8f141
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/librustc_mir/interpret/terminator.rs
Expand Up @@ -451,6 +451,7 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {

/// Evaluate a const function where all arguments (if any) are zero-sized types.
/// The evaluation is memoized thanks to the query system.
// FIXME: Consider moving this to `const_eval.rs`.
pub (crate) fn eval_const_fn_call(
&mut self,
gid: GlobalId<'tcx>,
Expand Down

0 comments on commit af8f141

Please sign in to comment.