This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +30
-9
lines changed Expand file tree Collapse file tree 3 files changed +30
-9
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ ignore = [
1717 " /tests/incremental/" , # These tests are somewhat sensitive to source code layout.
1818 " /tests/pretty/" , # These tests are very sensitive to source code layout.
1919 " /tests/run-make/translation/test.rs" , # This test contains syntax errors.
20- " /tests/run-make-fulldeps/" ,
2120 " /tests/run-pass-valgrind/" ,
2221 " /tests/rustdoc/" ,
2322 " /tests/rustdoc-gui/" ,
Original file line number Diff line number Diff line change @@ -27,7 +27,9 @@ use std::any::Any;
2727struct TheBackend ;
2828
2929impl CodegenBackend for TheBackend {
30- fn locale_resource ( & self ) -> & ' static str { "" }
30+ fn locale_resource ( & self ) -> & ' static str {
31+ ""
32+ }
3133
3234 fn codegen_crate < ' a , ' tcx > (
3335 & self ,
@@ -62,7 +64,10 @@ impl CodegenBackend for TheBackend {
6264 codegen_results : CodegenResults ,
6365 outputs : & OutputFilenames ,
6466 ) -> Result < ( ) , ErrorGuaranteed > {
65- use rustc_session:: { config:: { CrateType , OutFileName } , output:: out_filename} ;
67+ use rustc_session:: {
68+ config:: { CrateType , OutFileName } ,
69+ output:: out_filename,
70+ } ;
6671 use std:: io:: Write ;
6772 let crate_name = codegen_results. crate_info . local_crate_name ;
6873 for & crate_type in sess. opts . crate_types . iter ( ) {
Original file line number Diff line number Diff line change 11// #13544
22
3- #[ derive( Debug ) ] pub struct A ;
4- #[ derive( Debug ) ] pub struct B ( isize ) ;
5- #[ derive( Debug ) ] pub struct C { x : isize }
6- #[ derive( Debug ) ] pub enum D { }
7- #[ derive( Debug ) ] pub enum E { y }
8- #[ derive( Debug ) ] pub enum F { z( isize ) }
3+ #[ derive( Debug ) ]
4+ pub struct A ;
5+
6+ #[ derive( Debug ) ]
7+ pub struct B ( isize ) ;
8+
9+ #[ derive( Debug ) ]
10+ pub struct C {
11+ x : isize ,
12+ }
13+
14+ #[ derive( Debug ) ]
15+ pub enum D { }
16+
17+ #[ derive( Debug ) ]
18+ pub enum E {
19+ y,
20+ }
21+
22+ #[ derive( Debug ) ]
23+ pub enum F {
24+ z( isize ) ,
25+ }
You can’t perform that action at this time.
0 commit comments