File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -1278,15 +1278,6 @@ fn main() {
1278
1278
```
1279
1279
"## ,
1280
1280
1281
- E0103 : r##"
1282
- You hit this error because the compiler lacks information to determine a type
1283
- for this pattern binding.
1284
-
1285
- You have two possibilities to solve this situation:
1286
- * Give an explicit definition of the expression
1287
- * Infer the expression
1288
- "## ,
1289
-
1290
1281
E0106 : r##"
1291
1282
This error indicates that a lifetime is missing from a type. If it is an error
1292
1283
inside a function signature, the problem may be with failing to adhere to the
@@ -2778,8 +2769,7 @@ For more information see the [opt-in builtin traits RFC](https://github.com/rust
2778
2769
"## ,
2779
2770
2780
2771
E0390 : r##"
2781
- You tried to implement methods for a mutable raw pointer (*mut T). Erroneous
2782
- code example:
2772
+ You tried to implement methods for a primitive type. Erroneous code example:
2783
2773
2784
2774
```
2785
2775
struct Foo {
@@ -2893,6 +2883,7 @@ register_diagnostics! {
2893
2883
E0085 ,
2894
2884
E0086 ,
2895
2885
E0090 ,
2886
+ E0103 , // @GuillaumeGomez: I was unable to get this error, try your best!
2896
2887
E0104 ,
2897
2888
E0118 ,
2898
2889
E0122 ,
You can’t perform that action at this time.
0 commit comments