Skip to content

Commit 31c80a3

Browse files
bors[bot]evils
andauthored
Merge #77
77: correct malformed error typo r=AfoHT a=evils no changelog entry as this doesn't seem notable Co-authored-by: Evils <[email protected]>
2 parents 59fe1d1 + 9e6bdc1 commit 31c80a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/parse/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ pub fn parse_local_resources(content: ParseStream<'_>) -> parse::Result<LocalRes
220220
expr => {
221221
return Err(parse::Error::new(
222222
expr.span(),
223-
"malformed, exptected 'IDENT: TYPE = EXPR'",
223+
"malformed, expected 'IDENT: TYPE = EXPR'",
224224
))
225225
}
226226
};

ui/local-malformed-2.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error: malformed, exptected 'IDENT: TYPE = EXPR'
1+
error: malformed, expected 'IDENT: TYPE = EXPR'
22
--> ui/local-malformed-2.rs:11:21
33
|
44
11 | #[task(local = [a: u32])]

0 commit comments

Comments
 (0)