remove some no-longer-needed allow(const_err)
This commit is contained in:
parent
0e7e5b9655
commit
3e2f29a079
1 changed files with 0 additions and 3 deletions
|
|
@ -1,7 +1,4 @@
|
|||
// allow(const_err) to work around a bug in warnings
|
||||
#[allow(const_err)]
|
||||
static FOO: fn() = || { assert_ne!(42, 43) };
|
||||
#[allow(const_err)]
|
||||
static BAR: fn(i32, i32) = |a, b| { assert_ne!(a, b) };
|
||||
|
||||
// use to first make the closure FnOnce() before making it fn()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue