oli-obk / ui_test

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

pass test source to binary via stdin #253

Closed oli-obk closed 1 week ago

oli-obk commented 1 month 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 weeks ago

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