about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2021-10-01 14:46:50 -0700
committerGitHub <noreply@github.com>2021-10-01 14:46:50 -0700
commit04ba15392b6fefbb6121d7bab9a64a90437ce6a8 (patch)
treead879cd8887ea25129fba5120fa314e68ee2a9fe /compiler/rustc_codegen_llvm/src
parent1781e4b81af0440ce58b6905724df5d3e2afd548 (diff)
parent3792be6ac94186f3cffeaea98eff7477a0b1776f (diff)
downloadrust-04ba15392b6fefbb6121d7bab9a64a90437ce6a8.tar.gz
rust-04ba15392b6fefbb6121d7bab9a64a90437ce6a8.zip
Rollup merge of #89422 - GuillaumeGomez:doctest-whitespace-name, r=CraftSpider
Replace whitespaces in doctests' name with dashes

Fixes #88263.

Instead of handling white spaces when we filter tests (which would be quite complicated since we split on them!), I propose to instead replace them with dashes.

So for example, this:

```console
test foo.rs - Iter2<T, P>::len (line 13) ... ok
test foo.rs - Iter<T, P>::len (line 4) ... ok
```

becomes:

```console
test foo.rs - Iter<T,-P>::len (line 4) ... ok
test foo.rs - Iter2<T,-P>::len (line 13) ... ok
```

r? `@jyn514`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions