mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +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;
|