-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove sort_params from RefinedBy; find it from Sorts
- Loading branch information
Ranjit Jhala
committed
Oct 20, 2023
1 parent
c1e2c89
commit 90aec9f
Showing
9 changed files
with
70 additions
and
30 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
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
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
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
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
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
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,7 +1,12 @@ | ||
use std::hash::Hash; | ||
#[flux::opaque] | ||
// #[flux::refined_by(<Tiger> { elems: Set<Tiger> })] | ||
#[flux::refined_by( elems: Set<Tiger> )] //~ ERROR unbound generic `Tiger` | ||
pub struct RSet<Tiger> { | ||
pub inner: std::collections::HashSet<Tiger>, | ||
#[flux::refined_by(elems: Set<Tiger>)] //~ ERROR cannot find sort `Tiger` | ||
pub struct Foo<T> { | ||
pub inner: std::collections::HashSet<T>, | ||
} | ||
|
||
#[flux::opaque] | ||
#[flux::refined_by(elems: Set)] //~ ERROR cannot find sort `Set` | ||
pub struct Bar<T> { | ||
pub inner: std::collections::HashSet<T>, | ||
} |
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
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