Skip to content

Commit 1dcea1d

Browse files
committed
---
yaml --- r: 235485 b: refs/heads/stable c: 69e6dc0 h: refs/heads/master i: 235483: d3a778a v: v3
1 parent 6b82bed commit 1dcea1d

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
@@ -29,7 +29,7 @@ refs/heads/tmp: afae2ff723393b3ab4ccffef6ac7c6d1809e2da0
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: f859507de8c410b648d934d8f5ec1c52daac971d
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: 7c202a39c156d9a51c3dd1ebe34ecaaea188a175
32+
refs/heads/stable: 69e6dc0444bb62a474c8c5f7490c660f9d88c172
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
3535
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e

branches/stable/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/stable/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)