Skip to content

Commit

Permalink
Improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
fpoli committed Sep 28, 2023
1 parent 24bd4c5 commit ae08d55
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 @@ -1640,7 +1640,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 ae08d55

Please sign in to comment.