bless you
This commit is contained in:
parent
f7f0f843b7
commit
b5235ea732
60 changed files with 200 additions and 87 deletions
|
@ -22,7 +22,7 @@ pub const fn add_i32(a: i32, b: i32) -> i32 {
|
|||
|
||||
pub const fn add_u32(a: u32, b: u32) -> u32 {
|
||||
a.plus(b)
|
||||
//~^ ERROR calls in constant functions are limited to constant functions
|
||||
//~^ ERROR cannot call non-const fn
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue