Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 2 Packages Projects Releases Wiki Activity
Files
51b51b51d7931da85280382a81c4dd80c73ca754
rust/tests/ui/pattern/pattern-bad-ref-box-order.stderr

15 lines
303 B
Plaintext
Raw Normal View History

Suggest swapping the order of `ref` and `box`
2023-11-27 18:28:51 +09:00
error: switch the order of `ref` and `box`
--> $DIR/pattern-bad-ref-box-order.rs:8:14
|
LL | Some(ref box _i) => {},
Make parse error suggestions verbose and fix spans Go over all structured parser suggestions and make them verbose style. When suggesting to add or remove delimiters, turn them into multiple suggestion parts.
2024-07-06 03:07:46 +00:00
| ^^^^^^^
|
help: swap them
|
Show diff suggestion format on verbose replacement ``` error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields --> $DIR/attempted-access-non-fatal.rs:7:15 | LL | let _ = 2.l; | ^ | help: if intended to be a floating point literal, consider adding a `0` after the period and a `f64` suffix | LL - let _ = 2.l; LL + let _ = 2.0f64; | ```
2024-07-09 22:30:26 +00:00
LL - Some(ref box _i) => {},
LL + Some(box ref _i) => {},
|
Suggest swapping the order of `ref` and `box`
2023-11-27 18:28:51 +09:00
error: aborting due to 1 previous error
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 1055ms 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