Update src/librustc_mir/interpret/terminator.rs

Co-Authored-By: Ralf Jung <post@ralfj.de>
This commit is contained in:
Oliver Scherer 2019-12-04 16:38:58 +01:00 committed by GitHub
parent 55840b0209
commit af8f1416e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>,