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 55
66#![ allow( non_camel_case_types) ]
77#![ allow( dead_code) ]
8+ #![ allow( redundant_semicolons) ]
89#![ allow( unreachable_code) ]
910#![ allow( unused_braces, unused_must_use, unused_parens) ]
1011#![ allow( uncommon_codepoints, confusable_idents) ]
12+ #![ allow( unused_imports) ]
1113#![ allow( unreachable_patterns) ]
1214
1315#![ recursion_limit = "256" ]
1416
17+ extern crate core;
1518use std:: cell:: Cell ;
1619use std:: mem:: swap;
1720
@@ -204,6 +207,30 @@ fn closure_matching() {
204207 assert ! ( matches!( x( ..) , |_| Some ( 4 ) ) ) ;
205208}
206209
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+
207234pub fn main ( ) {
208235 strange ( ) ;
209236 funny ( ) ;
@@ -227,4 +254,7 @@ pub fn main() {
227254 function ( ) ;
228255 bathroom_stall ( ) ;
229256 closure_matching ( ) ;
257+ semisemisemisemisemi ( ) ;
258+ useful_syntax ( ) ;
259+ infcx ( ) ;
230260}
You can’t perform that action at this time.
0 commit comments