diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-02-02 19:34:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-02 19:34:03 +0100 |
| commit | 7e212c1ca9aa715a51ed4e6a60f3b0c837634720 (patch) | |
| tree | c471746260c9d99a129f938acf5071f1ea806c91 /src/test/rustdoc | |
| parent | b622552e1002739a279a1e3a151ca2a241c94ead (diff) | |
| parent | 230846433df2acde778b31fb1b3d3e194c29a0af (diff) | |
| download | rust-7e212c1ca9aa715a51ed4e6a60f3b0c837634720.tar.gz rust-7e212c1ca9aa715a51ed4e6a60f3b0c837634720.zip | |
Rollup merge of #93542 - GuillaumeGomez:lifetime-elision, r=oli-obk
Prevent lifetime elision in type alias Fixes #93401. Apparently, the problem has been fixed in the compiler. r? `@oli-obk`
Diffstat (limited to 'src/test/rustdoc')
| -rw-r--r-- | src/test/rustdoc/lifetime-name.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/rustdoc/lifetime-name.rs b/src/test/rustdoc/lifetime-name.rs new file mode 100644 index 00000000000..5d30a745a61 --- /dev/null +++ b/src/test/rustdoc/lifetime-name.rs @@ -0,0 +1,5 @@ +#![crate_name = "foo"] + +// @has 'foo/type.Resolutions.html' +// @has - '//*[@class="rust typedef"]' "pub type Resolutions<'tcx> = &'tcx u8;" +pub type Resolutions<'tcx> = &'tcx u8; |
