Skip to content

Commit c0e2c65

Browse files
committed
Remove Stateless display style
1 parent dce976f commit c0e2c65

File tree

9 files changed

+4
-97
lines changed

9 files changed

+4
-97
lines changed

src/analyses/compute_rules.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -237,14 +237,6 @@ impl PredicateStyle {
237237
show_scrut_access: true,
238238
},
239239
),
240-
(
241-
"Stateless",
242-
PredicateStyle::Sequent {
243-
ty: TypeOfInterest::UserVisible,
244-
show_reference_state: false,
245-
show_scrut_access: false,
246-
},
247-
),
248240
];
249241

250242
pub fn to_name(&self) -> Option<&str> {

src/cli.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,10 @@ impl CliState {
4949
name: "Sequent",
5050
doc: "TODO",
5151
},
52-
OptionValue {
53-
name: "BindingMode",
54-
doc: "TODO",
55-
},
5652
OptionValue {
5753
name: "SequentBindingMode",
5854
doc: "TODO",
5955
},
60-
OptionValue {
61-
name: "Stateless",
62-
doc: "TODO",
63-
},
6456
],
6557
doc: "the style of the typing predicate; not all rulesets can be expressed in all styles, \
6658
only `Expression` is compatible with all rulesets",

tests/snapshots/[email protected]

Lines changed: 0 additions & 71 deletions
This file was deleted.

tests/snapshots/[email protected]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Options are:
2525
How to handle a `mut x` binding on an inherited reference
2626
- simplify_deref_mut: false | true
2727
Whether to simplify `*&mut expr`, which removes some borrow errors
28-
- predicate_style: Expression | Sequent | BindingMode | SequentBindingMode | Stateless
28+
- predicate_style: Expression | Sequent | SequentBindingMode
2929
the style of the typing predicate; not all rulesets can be expressed in all styles, only `Expression` is compatible with all rulesets
3030

3131
There also exist some predefined option-bundles. Activate one with `set <bundle>`

tests/snapshots/[email protected]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Options are:
2525
How to handle a `mut x` binding on an inherited reference
2626
- simplify_deref_mut: false | true
2727
Whether to simplify `*&mut expr`, which removes some borrow errors
28-
- predicate_style: Expression | Sequent | BindingMode | SequentBindingMode | Stateless
28+
- predicate_style: Expression | Sequent | SequentBindingMode
2929
the style of the typing predicate; not all rulesets can be expressed in all styles, only `Expression` is compatible with all rulesets
3030

3131
There also exist some predefined option-bundles. Activate one with `set <bundle>`

tests/snapshots/[email protected]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Options are:
2525
How to handle a `mut x` binding on an inherited reference
2626
- simplify_deref_mut: false | true
2727
Whether to simplify `*&mut expr`, which removes some borrow errors
28-
- predicate_style: Expression | Sequent | BindingMode | SequentBindingMode | Stateless
28+
- predicate_style: Expression | Sequent | SequentBindingMode
2929
the style of the typing predicate; not all rulesets can be expressed in all styles, only `Expression` is compatible with all rulesets
3030

3131
There also exist some predefined option-bundles. Activate one with `set <bundle>`

tests/snapshots/[email protected]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Options are:
2626
How to handle a `mut x` binding on an inherited reference
2727
- simplify_deref_mut: false | true
2828
Whether to simplify `*&mut expr`, which removes some borrow errors
29-
- predicate_style: Expression | Sequent | BindingMode | SequentBindingMode | Stateless
29+
- predicate_style: Expression | Sequent | SequentBindingMode
3030
the style of the typing predicate; not all rulesets can be expressed in all styles, only `Expression` is compatible with all rulesets
3131

3232
There also exist some predefined option-bundles. Activate one with `set <bundle>`

tests/snapshots/[email protected]

Lines changed: 0 additions & 5 deletions
This file was deleted.

tests/trace_cli.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ fn trace_cli() -> anyhow::Result<()> {
2323
"set rfc3627\nset predicate_style SequentBindingMode\nrules",
2424
"save\nset downgrade_mut_inside_shared true\nswap\ncompare",
2525
"save\nset structural\nswap\nrules",
26-
"set predicate_style Stateless",
2726
"set stable_rust\n[&x]: &[AT]",
2827
"&ap: &T",
2928
"set predicate_style SequentBindingMode",

0 commit comments

Comments
 (0)