-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! refactor(hydroflow_lang): require lifetime on
perist*()
oper…
…ators
- Loading branch information
1 parent
5a6802d
commit 4bc78c7
Showing
3 changed files
with
10 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 4 additions & 9 deletions
13
hydroflow/tests/compile-fail/surface_singleton_badexpr.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,5 @@ | ||
error[E0308]: mismatched types | ||
--> tests/compile-fail/surface_singleton_badexpr.rs:7:40 | ||
| | ||
7 | -> filter(|value| value <= #my_ref) | ||
| ^^^^^^^ expected `&u32`, found integer | ||
| | ||
help: consider removing deref here | ||
| | ||
7 | -> filter(|value| value <= #my_ref) | ||
error: `persist` should have exactly 1 persistence lifetime arguments, actually has 0. | ||
--> tests/compile-fail/surface_singleton_badexpr.rs:6:16 | ||
| | ||
6 | -> persist() | ||
| ^^^^^^^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters