Skip to content

Commit

Permalink
Improve error message (#1458)
Browse files Browse the repository at this point in the history
  • Loading branch information
fpoli authored Sep 28, 2023
1 parent 9580905 commit 221b865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prusti-viper/src/encoder/procedure_encoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1680,7 +1680,7 @@ impl<'p, 'v: 'p, 'tcx: 'v> ProcedureEncoder<'p, 'v, 'tcx> {
}
mir::Rvalue::AddressOf(_, _) => {
return Err(SpannedEncodingError::unsupported(
"raw addresses of expressions or casting a reference to a raw pointer are not supported", span
"raw addresses of expressions and casts from references to raw pointers are not supported", span
));
}
mir::Rvalue::ThreadLocalRef(_) => {
Expand Down

0 comments on commit 221b865

Please sign in to comment.