about summary refs log tree commit diff
path: root/src/test/ui/impl-trait
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2020-01-31 11:35:37 -0800
committerEsteban Küber <esteban@kuber.com.ar>2020-02-08 21:08:59 -0800
commit3cdd7ae59ef9df70f3b31024466266160c9f5d11 (patch)
treed7e4865c59128d92e1e973191816cb3d1a4dfd6c /src/test/ui/impl-trait
parent319dd6f139377259ceca7db35069b382446ee3bf (diff)
downloadrust-3cdd7ae59ef9df70f3b31024466266160c9f5d11.tar.gz
rust-3cdd7ae59ef9df70f3b31024466266160c9f5d11.zip
review comment
Diffstat (limited to 'src/test/ui/impl-trait')
-rw-r--r--src/test/ui/impl-trait/trait_type.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/impl-trait/trait_type.stderr b/src/test/ui/impl-trait/trait_type.stderr
index d95b62e469e..748bc639a03 100644
--- a/src/test/ui/impl-trait/trait_type.stderr
+++ b/src/test/ui/impl-trait/trait_type.stderr
@@ -29,7 +29,7 @@ error[E0046]: not all trait items implemented, missing: `fmt`
 LL | impl std::fmt::Display for MyType4 {}
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `fmt` in implementation
    |
-   = help: implement the missing item: `fn fmt(&self, _: &mut std::fmt::Formatter<'_>) -> std::result::Result<(), std::fmt::Error> { unimplemented!() }`
+   = help: implement the missing item: `fn fmt(&self, _: &mut std::fmt::Formatter<'_>) -> std::result::Result<(), std::fmt::Error> { todo!() }`
 
 error: aborting due to 4 previous errors