oli-obk / ui_test

A test framework for testing rustc diagnostics output
27 stars 25 forks source link

pass test source to binary via stdin #253

Closed oli-obk closed 2 months ago

oli-obk commented 3 months ago

instead of us processing the file and then rustc opening the same file again, we can just send the file contents to rustc via stdin

will cause some diagnostics issues but they seem fixable

oli-obk commented 3 months ago

hmm looks like there is no flag to override the <anon> filename assigned to the stdin input to rustc