Auto merge of #54389 - kennytm:rollup, r=kennytm
Rollup of 15 pull requests Successful merges: - #52813 (Duration div mul extras) - #53470 (Warn about metadata loader errors) - #54233 (Remove LLVM 3.9 workaround.) - #54257 (Switch wasm math symbols to their original names) - #54258 (Enable fatal warnings for the wasm32 linker) - #54266 (Update LLVM to fix "bool" arguments on PPC32) - #54290 (Switch linker for aarch64-pc-windows-msvc from LLD to MSVC) - #54292 (Suggest array indexing when tuple indexing on an array) - #54295 (A few cleanups and minor improvements to rustc/traits) - #54298 (miri: correctly compute expected alignment for field) - #54333 (Update The Book to latest) - #54337 (Remove unneeded clone() from tests in librustdoc) - #54346 (rustc: future-proof error reporting for polymorphic constants in types.) - #54362 (Pass --batch to gdb) - #54367 (Add regression test for thread local static mut borrows)
This commit is contained in:
commit
2fa1390f6c
35 changed files with 632 additions and 521 deletions
|
|
@ -775,7 +775,7 @@ fn main() {
|
|||
assert_eq!(2+2, 4);
|
||||
}".to_string();
|
||||
let output = make_test(input, None, false, &opts);
|
||||
assert_eq!(output, (expected.clone(), 2));
|
||||
assert_eq!(output, (expected, 2));
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
@ -973,7 +973,7 @@ fn main() {
|
|||
assert_eq!(2+2, 4);
|
||||
}".to_string();
|
||||
let output = make_test(input, None, false, &opts);
|
||||
assert_eq!(output, (expected.clone(), 2));
|
||||
assert_eq!(output, (expected, 2));
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
@ -988,7 +988,7 @@ assert_eq!(2+2, 4);";
|
|||
//Ceci n'est pas une `fn main`
|
||||
assert_eq!(2+2, 4);".to_string();
|
||||
let output = make_test(input, None, true, &opts);
|
||||
assert_eq!(output, (expected.clone(), 1));
|
||||
assert_eq!(output, (expected, 1));
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
@ -1003,6 +1003,6 @@ assert_eq!(2+2, 4);".to_string();
|
|||
assert_eq!(2+2, 4);
|
||||
}".to_string();
|
||||
let output = make_test(input, None, false, &opts);
|
||||
assert_eq!(output, (expected.clone(), 1));
|
||||
assert_eq!(output, (expected, 1));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue