File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ //@ edition:2024
2
+ //@ run-pass
3
+
4
+ #![ allow( unused_imports) ]
5
+ #![ allow( missing_abi) ]
6
+ #![ allow( unused_macros) ]
7
+ #![ allow( non_camel_case_types) ]
8
+ #![ allow( unreachable_code) ]
9
+ #![ allow( unused_variables) ]
10
+ #![ allow( dead_code) ]
11
+ #![ allow( unused_must_use) ]
12
+
13
+ // all 48 keywords in 300 characters
14
+ mod x {
15
+ pub ( super ) struct X ;
16
+ use Ok ;
17
+ impl X {
18
+ pub ( in crate ) async fn x ( self : Self , x : & ' static & ' _ dyn for < > Fn ( ) ) where {
19
+ unsafe extern { safe fn x ( ) ; }
20
+ macro_rules! x { ( ) => { } ; }
21
+ if ' x: loop {
22
+ return match while let true = break ' x false { continue } {
23
+ ref x => { & raw mut x; async { const { enum A { } } } . await as ( ) } ,
24
+ } ;
25
+ } { type x = X ; } else { move || { trait x { } ; union B { x : ( ) } } ; }
26
+ }
27
+ }
28
+ }
29
+
30
+ fn main ( ) { }
You can’t perform that action at this time.
0 commit comments