rust/tests/run-make/metadata-dep-info/dash-separated.rs
Martin Nordholts 04d81ba153 Make .rmeta file in dep-info have correct name (lib prefix)
Since `filename_for_metadata()` and
`OutputFilenames::path(OutputType::Metadata)` had different logic for
the name of the metadata file, the `.d` file contained a file name
different from the actual name used. Share the logic to fix the
out-of-sync name.

Closes 68839.
2023-09-03 07:14:12 +02:00

5 lines
156 B
Rust

//! It is important that this file has at least one `-` in the file name since
//! we want to test that it becomes a `_` when appropriate.
pub struct Foo;