diff --git a/codespan-reporting/Cargo.toml b/codespan-reporting/Cargo.toml
index 90824b46..91b91c7c 100644
--- a/codespan-reporting/Cargo.toml
+++ b/codespan-reporting/Cargo.toml
@@ -20,7 +20,7 @@ unicode-width = "0.1"
 anyhow = "1"
 insta = "1.6.3"
 lazy_static = "1.4"
-peg = "0.6"
+peg = "0.7"
 rustyline = "6"
 structopt = "0.3"
 unindent = "0.1"