Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
0b5d6ae
Improve fluent error messages
Jan 5, 2023
9fd744b
add tests for div_duration_* functions
Xaeroxe Jan 7, 2023
eae615d
Remove unnecessary lseek syscall when using std::fs::read
chenyukang Jan 7, 2023
262ff86
Make translate_message return result and add tests
Jan 8, 2023
4c0c32c
Fix tests
Jan 8, 2023
36ee66c
Check impl's where clauses in consider_impl_candidate in experimental…
compiler-errors Jan 3, 2023
2855794
Use newtype for unused generic parameters
Noratrieb Dec 1, 2022
a4b859e
Delete unused polymorphization code
Noratrieb Dec 1, 2022
f7bc68b
use with_capacity in read read_to_string
chenyukang Jan 10, 2023
aca2f88
Disable "split dwarf inlining" by default.
khuey Jan 11, 2023
d031bef
a
BoxyUwU Jan 11, 2023
cce2f5f
fix typo LocalItemId -> ItemLocalId
klensy Jan 11, 2023
5135eac
Add log-backtrace option to show backtraces along with logging
yukiomoto Jan 11, 2023
368dacc
Rollup merge of #104645 - yukiomoto:log-backtrace-option, r=oli-obk
Noratrieb Jan 11, 2023
7aa788f
Rollup merge of #106397 - compiler-errors:new-solver-impl-wc, r=lcnr
Noratrieb Jan 11, 2023
d3df1e4
Rollup merge of #106427 - mejrs:translation_errors, r=davidtwco
Noratrieb Jan 11, 2023
5a80933
Rollup merge of #106570 - Xaeroxe:div-duration-tests, r=JohnTitor
Noratrieb Jan 11, 2023
25e5025
Rollup merge of #106648 - Nilstrieb:poly-cleanup, r=compiler-errors
Noratrieb Jan 11, 2023
aa91217
Rollup merge of #106664 - chenyukang:yukang/fix-106597-remove-lseek, …
Noratrieb Jan 11, 2023
1a86934
Rollup merge of #106709 - khuey:disable_split_dwarf_inlining_by_defau…
Noratrieb Jan 11, 2023
8ca15b4
Rollup merge of #106715 - BoxyUwU:new_solver_triagebot, r=lcnr
Noratrieb Jan 11, 2023
65a92f3
Rollup merge of #106717 - klensy:typo, r=lcnr
Noratrieb Jan 11, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix tests
  • Loading branch information
mejrs committed Jan 8, 2023
commit 4c0c32c895df28b762a61958b21cbe4d68f60238
5 changes: 5 additions & 0 deletions compiler/rustc_errors/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ fn make_dummy(ftl: &'static str) -> Dummy {
let resource = FluentResource::try_new(ftl.into()).expect("Failed to parse an FTL string.");

let langid_en = langid!("en-US");

#[cfg(parallel_compiler)]
let mut bundle = FluentBundle::new_concurrent(vec![langid_en]);

#[cfg(not(parallel_compiler))]
let mut bundle = FluentBundle::new(vec![langid_en]);

bundle.add_resource(resource).expect("Failed to add FTL resources to the bundle.");
Expand Down