File tree 4 files changed +10
-6
lines changed
src/test/run-make-fulldeps
4 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 1
- #![ crate_name = "test" ]
1
+ #![ crate_name = "test" ]
2
2
#![ feature( box_syntax) ]
3
3
#![ feature( rustc_private) ]
4
4
5
+ #![ allow( unused_must_use) ]
6
+
5
7
extern crate graphviz;
6
8
// A simple rust project
7
9
Original file line number Diff line number Diff line change 1
- #![ crate_name = "krate2" ]
2
- #![ crate_type = "lib" ]
1
+ #![ crate_name = "krate2" ]
2
+ #![ crate_type = "lib" ]
3
3
4
4
use std:: io:: Write ;
5
5
6
6
pub fn hello ( ) {
7
- std:: io:: stdout ( ) . write_all ( b"hello world!\n " ) ;
7
+ let _ = std:: io:: stdout ( ) . write_all ( b"hello world!\n " ) ;
8
8
}
Original file line number Diff line number Diff line change 1
- #![ crate_name = "test" ]
1
+ #![ crate_name = "test" ]
2
2
#![ feature( box_syntax) ]
3
3
#![ feature( rustc_private) ]
4
4
#![ feature( associated_type_defaults) ]
5
5
#![ feature( external_doc) ]
6
6
7
+ #![ allow( unused_must_use) ]
8
+
7
9
extern crate graphviz;
8
10
// A simple rust project
9
11
Original file line number Diff line number Diff line change 4
4
use std:: io:: Write ;
5
5
6
6
pub fn hello ( ) {
7
- std:: io:: stdout ( ) . write_all ( b"hello world!\n " ) ;
7
+ let _ = std:: io:: stdout ( ) . write_all ( b"hello world!\n " ) ;
8
8
}
You can’t perform that action at this time.
0 commit comments