diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-02-01 08:18:55 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-02-08 07:32:30 +0000 |
| commit | 8a5847f5c40be178d3dd6fa7ce6fecfb837cabbb (patch) | |
| tree | 8156c69b4295d00d5df6517a114c485188d9105f /tests/rustdoc-ui/issues | |
| parent | 870a01a30e45d73b8e922a91850919e03f772636 (diff) | |
| download | rust-8a5847f5c40be178d3dd6fa7ce6fecfb837cabbb.tar.gz rust-8a5847f5c40be178d3dd6fa7ce6fecfb837cabbb.zip | |
Already poison the `type_of` result of the anon const used in the `typeof` expression
Diffstat (limited to 'tests/rustdoc-ui/issues')
| -rw-r--r-- | tests/rustdoc-ui/issues/issue-102986.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc-ui/issues/issue-102986.stderr b/tests/rustdoc-ui/issues/issue-102986.stderr index 996eb41c492..d91f93f394a 100644 --- a/tests/rustdoc-ui/issues/issue-102986.stderr +++ b/tests/rustdoc-ui/issues/issue-102986.stderr @@ -6,8 +6,8 @@ LL | y: (typeof("hey"),), | help: consider replacing `typeof(...)` with an actual type | -LL | y: (&'static str,), - | ~~~~~~~~~~~~ +LL | y: (&str,), + | ~~~~ error: aborting due to 1 previous error |
