diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-01-10 16:34:54 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-01-11 09:52:25 +0000 |
| commit | fb44c848c3899ed4ece01e63070a45a532e357fc (patch) | |
| tree | 02a3525feb3f938a585cc56c9d84887512c02d0b /tests/ui/impl-trait/issue-72911.rs | |
| parent | 3a6bf351a39b35a662022c151621b932b4ae0bc8 (diff) | |
| download | rust-fb44c848c3899ed4ece01e63070a45a532e357fc.tar.gz rust-fb44c848c3899ed4ece01e63070a45a532e357fc.zip | |
Keep error types around, even in obligations.
These help silence follow up errors
Diffstat (limited to 'tests/ui/impl-trait/issue-72911.rs')
| -rw-r--r-- | tests/ui/impl-trait/issue-72911.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/impl-trait/issue-72911.rs b/tests/ui/impl-trait/issue-72911.rs index 63f4898f430..7ba8579e24f 100644 --- a/tests/ui/impl-trait/issue-72911.rs +++ b/tests/ui/impl-trait/issue-72911.rs @@ -15,6 +15,7 @@ fn gather_from_file(dir_entry: &foo::MissingItem) -> impl Iterator<Item = Lint> fn lint_files() -> impl Iterator<Item = foo::MissingItem> { //~^ ERROR: failed to resolve + //~| ERROR: `()` is not an iterator unimplemented!() } |
