Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
master
rust/tests/rustdoc-ui/bounded-hr-lifetime.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
207 B
Plaintext
Raw Permalink Normal View History

Simple modification of diagnostic information fixes #119067
2023-12-20 15:06:36 +08:00
error: bounds cannot be used in this context
rustdoc: Higher-ranked lifetimes can't have bounds This cleans up the other spot I found where rustdoc was rendering bounds into the lifetime name itself. However, in this case, I don't think it could have actually happened because higher-ranked lifetime definitions aren't currently allowed to have bounds.
2021-09-02 09:54:32 -07:00
--> $DIR/bounded-hr-lifetime.rs:6:13
|
LL | for<'a: 'b + 'c> &'a (): std::fmt::Debug,
| ^^ ^^
Bless rustdoc-ui tests Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-21 16:44:51 +00:00
error: aborting due to 1 previous error
rustdoc: Higher-ranked lifetimes can't have bounds This cleans up the other spot I found where rustdoc was rendering bounds into the lifetime name itself. However, in this case, I don't think it could have actually happened because higher-ranked lifetime definitions aren't currently allowed to have bounds.
2021-09-02 09:54:32 -07:00
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 1191ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API