Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
|
@ -1,14 +0,0 @@
|
|||
struct Struct<const N: usize = { Self; 10 }>;
|
||||
//~^ ERROR generic parameters cannot use `Self` in their defaults [E0735]
|
||||
|
||||
enum Enum<const N: usize = { Self; 10 }> { }
|
||||
//~^ ERROR generic parameters cannot use `Self` in their defaults [E0735]
|
||||
|
||||
union Union<const N: usize = { Self; 10 }> { not_empty: () }
|
||||
//~^ ERROR generic parameters cannot use `Self` in their defaults [E0735]
|
||||
|
||||
fn main() {
|
||||
let _: Struct;
|
||||
let _: Enum;
|
||||
let _: Union;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue