bless you

This commit is contained in:
Deadbeef 2021-12-10 01:10:05 +08:00
parent f7f0f843b7
commit b5235ea732
No known key found for this signature in database
GPG key ID: 6D017A96D8E6C2F9
60 changed files with 200 additions and 87 deletions

View file

@ -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() {}