We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42f2810 commit c9102eeCopy full SHA for c9102ee
src/rustc/middle/ty.rs
@@ -985,7 +985,9 @@ fn type_kind(cx: ctxt, ty: t) -> kind {
985
param_bounds_to_kind(cx.ty_param_bounds.get(did.node))
986
}
987
ty_constr(t, _) { type_kind(cx, t) }
988
- _ { cx.sess.bug("bad type in type_kind"); }
+ ty_class(_, _) { fail "FIXME"; }
989
+ ty_var(_) { fail "FIXME"; }
990
+ ty_self(_) { kind_noncopyable }
991
};
992
993
cx.kind_cache.insert(ty, result);
0 commit comments