Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
|
@ -0,0 +1,12 @@
|
|||
// revisions: edition2015 edition2021
|
||||
//[edition2021]edition:2021
|
||||
|
||||
#![allow(warnings)]
|
||||
|
||||
fn ice() -> impl AsRef<Fn(&())> {
|
||||
//[edition2015]~^ ERROR: the trait bound `(): AsRef<(dyn for<'a> Fn(&'a ()) + 'static)>` is not satisfied [E0277]
|
||||
//[edition2021]~^^ ERROR: trait objects must include the `dyn` keyword [E0782]
|
||||
todo!()
|
||||
}
|
||||
|
||||
fn main() {}
|
Loading…
Add table
Add a link
Reference in a new issue