diff options
| author | Ralf Jung <post@ralfj.de> | 2020-03-19 09:07:43 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2020-03-19 09:07:43 +0100 |
| commit | a39875b4dd90be99d870b9b341a516c313076313 (patch) | |
| tree | 57f4913add2e0a4b7d2289ee1ca8a3387b95f115 /src/librustc_mir/interpret | |
| parent | 57e1da59cd0761330b4ea8d47b16340a78eeafa9 (diff) | |
| download | rust-a39875b4dd90be99d870b9b341a516c313076313.tar.gz rust-a39875b4dd90be99d870b9b341a516c313076313.zip | |
do not 'return' in 'throw_' macros
Diffstat (limited to 'src/librustc_mir/interpret')
| -rw-r--r-- | src/librustc_mir/interpret/machine.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_mir/interpret/machine.rs b/src/librustc_mir/interpret/machine.rs index c9d32f62400..88cb74ebf8c 100644 --- a/src/librustc_mir/interpret/machine.rs +++ b/src/librustc_mir/interpret/machine.rs @@ -171,7 +171,7 @@ pub trait Machine<'mir, 'tcx>: Sized { /// Called to evaluate `Abort` MIR terminator. fn abort(_ecx: &mut InterpCx<'mir, 'tcx, Self>) -> InterpResult<'tcx, !> { - throw_unsup_format!("aborting execution is not supported"); + throw_unsup_format!("aborting execution is not supported") } /// Called for all binary operations where the LHS has pointer type. |
