File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ impl FileLoader for RealFileLoader {
116
116
117
117
fn read_file ( & self , path : & Path ) -> io:: Result < String > {
118
118
if path. metadata ( ) . is_ok_and ( |metadata| metadata. len ( ) > u32:: MAX . into ( ) ) {
119
- eprintln ! ( "fatal error: rustc does not support files larger than 4GB " ) ;
119
+ eprintln ! ( "fatal error: rustc does not support files larger than 4 GiB " ) ;
120
120
crate :: fatal_error:: FatalError . raise ( )
121
121
}
122
122
fs:: read_to_string ( path)
@@ -301,7 +301,7 @@ impl SourceMap {
301
301
/// unmodified.
302
302
pub fn new_source_file ( & self , filename : FileName , src : String ) -> Lrc < SourceFile > {
303
303
self . try_new_source_file ( filename, src) . unwrap_or_else ( |OffsetOverflowError | {
304
- eprintln ! ( "fatal error: rustc does not support files larger than 4GB " ) ;
304
+ eprintln ! ( "fatal error: rustc does not support files larger than 4 GiB " ) ;
305
305
crate :: fatal_error:: FatalError . raise ( )
306
306
} )
307
307
}
You can’t perform that action at this time.
0 commit comments