Document the one TyKind that isn't documented
This is especially confusing since the name `Foreign` and the name `extern type` are so different. I deduced that they're the same by consulting git-blame.
This commit is contained in:
parent
b139669f37
commit
5db385064e
1 changed files with 1 additions and 0 deletions
|
|
@ -107,6 +107,7 @@ pub enum TyKind<'tcx> {
|
|||
/// definition and not a concrete use of it.
|
||||
Adt(&'tcx AdtDef, &'tcx Substs<'tcx>),
|
||||
|
||||
/// An unsized FFI type that is opaque to Rust. Written as `extern type T`.
|
||||
Foreign(DefId),
|
||||
|
||||
/// The pointee of a string slice. Written as `str`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue