Skip to content

Commit 216892e

Browse files
committed
---
yaml --- r: 220605 b: refs/heads/tmp c: 69e6dc0 h: refs/heads/master i: 220603: 7610c89 v: v3
1 parent d671499 commit 216892e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
2626
refs/heads/beta: c8bab9d06a179028a0d5129aa62f09d694d9cc49
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
28-
refs/heads/tmp: 7c202a39c156d9a51c3dd1ebe34ecaaea188a175
28+
refs/heads/tmp: 69e6dc0444bb62a474c8c5f7490c660f9d88c172
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: 1b28ffa5216c845d1cef6b0cb3e5ac7db12025d0
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828

branches/tmp/src/librustc_typeck/check/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3427,7 +3427,7 @@ fn check_expr_with_unifier<'a, 'tcx, F>(fcx: &FnCtxt<'a, 'tcx>,
34273427
let struct_id = match def {
34283428
def::DefVariant(enum_id, variant_id, true) => {
34293429
if let &Some(ref base_expr) = base_expr {
3430-
span_err!(tcx.sess, base_expr.span, E0401,
3430+
span_err!(tcx.sess, base_expr.span, E0436,
34313431
"functional record update syntax requires a struct");
34323432
fcx.write_error(base_expr.id);
34333433
}

branches/tmp/src/librustc_typeck/diagnostics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2211,5 +2211,5 @@ register_diagnostics! {
22112211
// type because its default value `{}` references the type `Self`"
22122212
E0399, // trait items need to be implemented because the associated
22132213
// type `{}` was overridden
2214-
E0401 // functional record update requires a struct
2214+
E0436 // functional record update requires a struct
22152215
}

0 commit comments

Comments
 (0)