mv compiler to compiler/
This commit is contained in:
parent
db534b3ac2
commit
9e5f7d5631
1686 changed files with 941 additions and 1051 deletions
13
compiler/rustc_middle/src/tests.rs
Normal file
13
compiler/rustc_middle/src/tests.rs
Normal file
|
@ -0,0 +1,13 @@
|
|||
use super::*;
|
||||
|
||||
// FIXME(#27438): right now the unit tests of librustc_middle don't refer to any actual
|
||||
// functions generated in librustc_data_structures (all
|
||||
// references are through generic functions), but statics are
|
||||
// referenced from time to time. Due to this bug we won't
|
||||
// actually correctly link in the statics unless we also
|
||||
// reference a function, so be sure to reference a dummy
|
||||
// function.
|
||||
#[test]
|
||||
fn noop() {
|
||||
rustc_data_structures::__noop_fix_for_27438();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue