about summary refs log tree commit diff
path: root/compiler/rustc_error_codes
diff options
context:
space:
mode:
authorMatthew Jasper <mjjasper1@gmail.com>2020-07-25 21:27:34 +0100
committerMatthew Jasper <mjjasper1@gmail.com>2020-10-06 11:19:32 +0100
commite29765250b84809dc11fc26220dfcc544680d582 (patch)
tree9e87b6fced34044b655fb20160942e6e54998440 /compiler/rustc_error_codes
parent6c4feb681f8062060ed0c21d311c27eba8791d42 (diff)
downloadrust-e29765250b84809dc11fc26220dfcc544680d582.tar.gz
rust-e29765250b84809dc11fc26220dfcc544680d582.zip
Don't immediately error for recursive projections
Diffstat (limited to 'compiler/rustc_error_codes')
-rw-r--r--compiler/rustc_error_codes/src/error_codes/E0284.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0284.md b/compiler/rustc_error_codes/src/error_codes/E0284.md
index 18519b471b2..82598aeec02 100644
--- a/compiler/rustc_error_codes/src/error_codes/E0284.md
+++ b/compiler/rustc_error_codes/src/error_codes/E0284.md
@@ -14,7 +14,7 @@ fn main() {
 
 Here we have an addition of `d` and `n.into()`. Hence, `n.into()` can return
 any type `T` where `u64: Add<T>`. On the other hand, the `into` method can
-rteurn any type where `u32: Into<T>`.
+return any type where `u32: Into<T>`.
 
 The author of this code probably wants `into()` to return a `u64`, but the
 compiler can't be sure that there isn't another type `T` where both