Skip to content

Commit 849d564

Browse files
committed
remove fixme in check::alt
1 parent aa3df17 commit 849d564

File tree

1 file changed

+0
-2
lines changed
  • src/rustc/middle/typeck/check

1 file changed

+0
-2
lines changed

src/rustc/middle/typeck/check/alt.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,6 @@ fn check_pat(pcx: pat_ctxt, pat: @ast::pat, expected: ty::t) {
235235
ast::pat_struct(path, fields, etc) => {
236236
// Grab the class data that we care about.
237237
let class_fields, class_id, substitutions;
238-
// FIXME(#3217) If this were "match structure_of...", this bug causes
239-
// it to not live long enough for 'substitutions'.
240238
let structure = structure_of(fcx, pat.span, expected);
241239
match structure {
242240
ty::ty_class(cid, ref substs) => {

0 commit comments

Comments
 (0)