-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
C-unsupported-language-featureA rust feature we don't extract wellA rust feature we don't extract well
Description
Contracts were just added as an experimental feature. We should translate them.
#![feature(contracts)]
struct Baz { baz: i32 }
#[core::contracts::requires(x.baz > 0)]
#[core::contracts::ensures(|ret| *ret > 50)]
fn tail(x: Baz) -> i32
{
x.baz + 50
}
Metadata
Metadata
Assignees
Labels
C-unsupported-language-featureA rust feature we don't extract wellA rust feature we don't extract well