Register new eror code

This commit is contained in:
Esteban Küber 2020-06-02 10:47:58 -07:00
parent 10d9bf1767
commit 34d8692262
13 changed files with 15 additions and 4 deletions

View File

@ -15,3 +15,4 @@ LL | foo(|| self.bar()).await;
error: aborting due to previous error
For more information about this error, try `rustc --explain E0758`.

View File

@ -183,5 +183,5 @@ LL | fn explicit4<'a>(x: &'static i32) -> Box<dyn Debug + 'static> { Box::new(x)
error: aborting due to 12 previous errors
Some errors have detailed explanations: E0310, E0621, E0623.
Some errors have detailed explanations: E0310, E0621, E0623, E0758.
For more information about an error, try `rustc --explain E0310`.

View File

@ -40,3 +40,4 @@ LL | fn iter_values<'a>(&'a self) -> impl Iterator<Item=u32> + 'a {
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0758`.

View File

@ -13,3 +13,4 @@ LL | fn foo<T: Any>(value: &T) -> Box<dyn Any + '_> {
error: aborting due to previous error
For more information about this error, try `rustc --explain E0758`.

View File

@ -23,4 +23,5 @@ LL | ss.r = b;
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0621`.
Some errors have detailed explanations: E0621, E0758.
For more information about an error, try `rustc --explain E0621`.

View File

@ -79,4 +79,5 @@ LL | Box::new(v)
error: aborting due to 4 previous errors
For more information about this error, try `rustc --explain E0495`.
Some errors have detailed explanations: E0495, E0758.
For more information about an error, try `rustc --explain E0495`.

View File

@ -17,3 +17,4 @@ LL | fn g<'a, T: 'static>(v: std::boxed::Box<(dyn A<T> + 'static)>) -> Box<dyn X
error: aborting due to previous error
For more information about this error, try `rustc --explain E0758`.

View File

@ -17,3 +17,4 @@ LL | fn i<'a, T, U>(v: std::boxed::Box<(dyn A<U> + 'static)>) -> Box<dyn X + 'st
error: aborting due to previous error
For more information about this error, try `rustc --explain E0758`.

View File

@ -18,3 +18,4 @@ LL | fn static_proc(x: &'static isize) -> Box<dyn FnMut() -> (isize) + 'static>
error: aborting due to previous error
For more information about this error, try `rustc --explain E0758`.

View File

@ -14,3 +14,4 @@ LL | async fn f(self: Pin<&Self>) -> impl Clone { self }
error: aborting due to previous error
For more information about this error, try `rustc --explain E0758`.

View File

@ -18,3 +18,4 @@ LL | fn f(self: Pin<&Self>) -> impl Clone + '_ { self }
error: aborting due to previous error
For more information about this error, try `rustc --explain E0758`.

View File

@ -125,5 +125,5 @@ LL | fn bak<'a, G, T>(g: G, dest: &'a mut T) -> impl FnOnce() + 'a
error: aborting due to 7 previous errors
Some errors have detailed explanations: E0261, E0309, E0621.
Some errors have detailed explanations: E0261, E0309, E0621, E0758.
For more information about an error, try `rustc --explain E0261`.

View File

@ -14,3 +14,4 @@ LL | fn a<T>(items: &[T]) -> Box<dyn Iterator<Item=&T> + '_> {
error: aborting due to previous error
For more information about this error, try `rustc --explain E0758`.