File tree 2 files changed +8
-10
lines changed
rustc_data_structures/src
2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -146,9 +146,9 @@ pub fn make_display(f: impl Fn(&mut fmt::Formatter<'_>) -> fmt::Result) -> impl
146
146
Printer { f }
147
147
}
148
148
149
- // See comments in compiler/rustc_middle/src/tests.rs
149
+ // See comment in compiler/rustc_middle/src/tests.rs and issue #27438.
150
150
#[ doc( hidden) ]
151
- pub fn __noop_fix_for_27438 ( ) { }
151
+ pub fn __noop_fix_for_windows_dllimport_issue ( ) { }
152
152
153
153
#[ macro_export]
154
154
macro_rules! external_bitflags_debug {
Original file line number Diff line number Diff line change 1
1
use super :: * ;
2
2
3
- // FIXME(#27438): right now the unit tests of rustc_middle don't refer to any actual
4
- // functions generated in rustc_data_structures (all
5
- // references are through generic functions), but statics are
6
- // referenced from time to time. Due to this bug we won't
7
- // actually correctly link in the statics unless we also
8
- // reference a function, so be sure to reference a dummy
9
- // function.
3
+ // FIXME(#27438): Right now, the unit tests of `rustc_middle` don't refer to any actual functions
4
+ // generated in `rustc_data_structures` (all references are through generic functions),
5
+ // but statics are referenced from time to time. Due to this Windows `dllimport` bug
6
+ // we won't actually correctly link in the statics unless we also reference a function,
7
+ // so be sure to reference a dummy function.
10
8
#[ test]
11
9
fn noop ( ) {
12
- rustc_data_structures:: __noop_fix_for_27438 ( ) ;
10
+ rustc_data_structures:: __noop_fix_for_windows_dllimport_issue ( ) ;
13
11
}
You can’t perform that action at this time.
0 commit comments