File tree 1 file changed +30
-0
lines changed
1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 5
5
6
6
#![ allow( non_camel_case_types) ]
7
7
#![ allow( dead_code) ]
8
+ #![ allow( redundant_semicolons) ]
8
9
#![ allow( unreachable_code) ]
9
10
#![ allow( unused_braces, unused_must_use, unused_parens) ]
10
11
#![ allow( uncommon_codepoints, confusable_idents) ]
12
+ #![ allow( unused_imports) ]
11
13
#![ allow( unreachable_patterns) ]
12
14
13
15
#![ recursion_limit = "256" ]
14
16
17
+ extern crate core;
15
18
use std:: cell:: Cell ;
16
19
use std:: mem:: swap;
17
20
@@ -204,6 +207,30 @@ fn closure_matching() {
204
207
assert ! ( matches!( x( ..) , |_| Some ( 4 ) ) ) ;
205
208
}
206
209
210
+ fn semisemisemisemisemi ( ) {
211
+ ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ;
212
+ ; ; ; ; ; ; ; ; ; ; ; ; ; ;
213
+ ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ;
214
+ ; ; ; ; ; ; ; ; ; ; ; ;
215
+ ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ;
216
+ }
217
+
218
+ fn useful_syntax ( ) {
219
+ use { { std:: { { collections:: { { HashMap } } } } } } ;
220
+ use :: { { { { core} , { std} } } } ;
221
+ use { { :: { { core as core2} } } } ;
222
+ }
223
+
224
+ fn infcx ( ) {
225
+ pub mod cx {
226
+ pub mod cx {
227
+ pub use super :: cx;
228
+ pub struct Cx ;
229
+ }
230
+ }
231
+ let _cx: cx:: cx:: Cx = cx:: cx:: cx:: cx:: cx:: Cx ;
232
+ }
233
+
207
234
pub fn main ( ) {
208
235
strange ( ) ;
209
236
funny ( ) ;
@@ -227,4 +254,7 @@ pub fn main() {
227
254
function ( ) ;
228
255
bathroom_stall ( ) ;
229
256
closure_matching ( ) ;
257
+ semisemisemisemisemi ( ) ;
258
+ useful_syntax ( ) ;
259
+ infcx ( ) ;
230
260
}
You can’t perform that action at this time.
0 commit comments