Update compiler/rustc_infer/src/infer/error_reporting/mod.rs

Co-authored-by: mbartlett21 <29034492+mbartlett21@users.noreply.github.com>
This commit is contained in:
Takayuki Maeda 2021-09-23 20:27:20 +09:00 committed by GitHub
parent b69bc8447a
commit d997a62a3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@
//! inference graph arose so that we can explain to the user what gave
//! rise to a particular error.
//!
//! The bases of the system are the "origin" types. An "origin" is the
//! The system is based around a set of "origin" types. An "origin" is the
//! reason that a constraint or inference variable arose. There are
//! different "origin" enums for different kinds of constraints/variables
//! (e.g., `TypeOrigin`, `RegionVariableOrigin`). An origin always has