mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
04d81ba153
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.
5 lines
156 B
Rust
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;
|