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
359bfa901b9d8eddbed7b88b6716dbb77b7bfb95
rust/tests/ui/traits/const-traits/variance.stderr

9 lines
174 B
Plaintext
Raw Normal View History

hir_analysis: skip self type of host effect preds Like trait predicates, the self type ought to be skipped here.
2025-02-24 09:50:22 +00:00
error: ['a: *]
tests: add variance test for const traits Added to demonstrate change in output in following commit. Many more interesting tests change with different output, missing errors, new errors, etc related to this but they all depend on feature flags and are much more complex than this.
2025-02-24 09:49:06 +00:00
--> $DIR/variance.rs:10:21
|
LL | fn foo<'a: 'a>() -> impl const Foo {}
| ^^^^^^^^^^^^^^
error: aborting due to 1 previous error
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 751ms 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