File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,8 @@ enum SupportedGenericReturnTypes {
49
49
}
50
50
51
51
enum RustType {
52
+ // TypeBareFn is a syn type that is useful to leave attached for debugging purposes.
53
+ #[ allow( dead_code) ]
52
54
BareFn ( TypeBareFn , Span ) ,
53
55
Path ( TypePath , Span ) ,
54
56
Tuple ( TypeTuple , Span ) ,
Original file line number Diff line number Diff line change 1
1
use std:: collections:: HashSet ;
2
- use std:: convert:: TryInto ;
3
2
use std:: ffi:: { c_char, CString , OsStr , OsString } ;
4
3
use std:: fmt:: { Display , Formatter } ;
5
4
use std:: fs:: File ;
@@ -235,7 +234,7 @@ impl Platform for Sys {
235
234
Err ( e) => {
236
235
panic ! ( "the CLOEXEC pipe failed: {:?}" , e)
237
236
}
238
- Ok ( .. ) => {
237
+ Ok ( _n ) => {
239
238
// pipe I/O up to PIPE_BUF bytes should be atomic
240
239
panic ! ( "short read on the CLOEXEC pipe" )
241
240
}
You can’t perform that action at this time.
0 commit comments