Auto merge of #79349 - Nemo157:issue-79201, r=jyn514
Apply `doc(cfg)` from parent items while collecting trait impls Because trait impls bypass the standard `clean` hierarchy they do not participate in the `propagate_doc_cfg` pass, so instead we need to pre-collect all possible `doc(cfg)` attributes that will apply to them when cleaning. fixes #79201
This commit is contained in:
commit
9eb3a7ceaf
5 changed files with 76 additions and 8 deletions
|
|
@ -2442,7 +2442,7 @@ impl<'test> TestCx<'test> {
|
|||
})
|
||||
};
|
||||
let mut diff = Command::new("diff");
|
||||
diff.args(&["-u", "-r"]).args(&[out_dir, &compare_dir]);
|
||||
diff.args(&["-u", "-r"]).args(&[&compare_dir, out_dir]);
|
||||
|
||||
let output = if let Some(pager) = pager {
|
||||
let diff_pid = diff.stdout(Stdio::piped()).spawn().expect("failed to run `diff`");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue