diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2022-12-13 11:36:43 -0800 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2022-12-13 11:36:43 -0800 |
| commit | 165efabbee6e2ea997bdbd7aee67f92554a83f80 (patch) | |
| tree | f197efa29e9984d8a2d211b4b28187ebc7d1eed4 /src/test/ui/span | |
| parent | 7d1e47aeb0bb1ad2ccf27cb62c25f4ba09d679e4 (diff) | |
| download | rust-165efabbee6e2ea997bdbd7aee67f92554a83f80.tar.gz rust-165efabbee6e2ea997bdbd7aee67f92554a83f80.zip | |
review comments
Diffstat (limited to 'src/test/ui/span')
| -rw-r--r-- | src/test/ui/span/method-and-field-eager-resolution.stderr | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/ui/span/method-and-field-eager-resolution.stderr b/src/test/ui/span/method-and-field-eager-resolution.stderr index 554a2580c94..f6efbe40bc2 100644 --- a/src/test/ui/span/method-and-field-eager-resolution.stderr +++ b/src/test/ui/span/method-and-field-eager-resolution.stderr @@ -7,10 +7,10 @@ LL | LL | x.0; | - type must be known at this point | -help: consider giving `x` an explicit type, where the placeholder `Type` is specified +help: consider giving `x` an explicit type | -LL | let mut x: Type = Default::default(); - | ++++++ +LL | let mut x: /* Type */ = Default::default(); + | ++++++++++++ error[E0282]: type annotations needed --> $DIR/method-and-field-eager-resolution.rs:11:9 @@ -21,10 +21,10 @@ LL | LL | x[0]; | - type must be known at this point | -help: consider giving `x` an explicit type, where the placeholder `Type` is specified +help: consider giving `x` an explicit type | -LL | let mut x: Type = Default::default(); - | ++++++ +LL | let mut x: /* Type */ = Default::default(); + | ++++++++++++ error: aborting due to 2 previous errors |
