Skip to content

Commit

Permalink
Register new eror code
Browse files Browse the repository at this point in the history
  • Loading branch information
estebank committed Jun 9, 2020
1 parent bdfb9b1 commit 215de3b
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/test/ui/async-await/issues/issue-62097.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
1 change: 1 addition & 0 deletions src/test/ui/issues/issue-16922.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
1 change: 1 addition & 0 deletions src/test/ui/regions/regions-proc-bound-capture.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

0 comments on commit 215de3b

Please sign in to comment.