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
2b0cfa5b4c5099f45ca540ee1c7d8c1ecd5267d2
rust/src/test/ui/rfc-2005-default-binding-mode/const.stderr

12 lines
316 B
Plaintext
Raw Normal View History

implement pattern-binding-modes RFC See the [RFC] and [tracking issue]. [tracking issue]: https://github.com/rust-lang/rust/issues/42640 [RFC]: https://github.com/rust-lang/rfcs/blob/491e0af/text/2005-match-ergonomics.md
2017-10-06 16:30:23 -04:00
error[E0308]: mismatched types
Remove licenses
2018-12-25 08:56:47 -07:00
--> $DIR/const.rs:14:9
implement pattern-binding-modes RFC See the [RFC] and [tracking issue]. [tracking issue]: https://github.com/rust-lang/rust/issues/42640 [RFC]: https://github.com/rust-lang/rfcs/blob/491e0af/text/2005-match-ergonomics.md
2017-10-06 16:30:23 -04:00
|
check_pat_path: use pattern_cause
2020-02-25 05:41:03 +01:00
LL | match &f {
| -- this expression has type `&Foo`
Update tests
2019-03-09 15:03:44 +03:00
LL | FOO => {},
Surround types with backticks in type errors
2019-11-15 09:37:01 -08:00
| ^^^ expected `&Foo`, found struct `Foo`
implement pattern-binding-modes RFC See the [RFC] and [tracking issue]. [tracking issue]: https://github.com/rust-lang/rust/issues/42640 [RFC]: https://github.com/rust-lang/rfcs/blob/491e0af/text/2005-match-ergonomics.md
2017-10-06 16:30:23 -04:00
error: aborting due to previous error
update tests
2018-03-03 15:59:40 +01:00
For more information about this error, try `rustc --explain E0308`.
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 2535ms 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