diff options
| author | Oli Scherer <github333195615777966@oli-obk.de> | 2025-02-13 09:53:08 +0000 |
|---|---|---|
| committer | Oli Scherer <github333195615777966@oli-obk.de> | 2025-02-20 13:39:39 +0000 |
| commit | 8f6b18494641a9457b94e9f42bc88846e42dadbb (patch) | |
| tree | ab4cfd9a8f4dfbfb05a17d5c8a689babd6a662d2 /tests/ui/lint/lint-incoherent-auto-trait-objects.rs | |
| parent | eeb9035117dc85fa4abe8e2abb09285fd65b0263 (diff) | |
| download | rust-8f6b18494641a9457b94e9f42bc88846e42dadbb.tar.gz rust-8f6b18494641a9457b94e9f42bc88846e42dadbb.zip | |
Turn order dependent trait objects future incompat warning into a hard error
Diffstat (limited to 'tests/ui/lint/lint-incoherent-auto-trait-objects.rs')
| -rw-r--r-- | tests/ui/lint/lint-incoherent-auto-trait-objects.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/ui/lint/lint-incoherent-auto-trait-objects.rs b/tests/ui/lint/lint-incoherent-auto-trait-objects.rs index d53b5144760..d34e6658435 100644 --- a/tests/ui/lint/lint-incoherent-auto-trait-objects.rs +++ b/tests/ui/lint/lint-incoherent-auto-trait-objects.rs @@ -4,16 +4,13 @@ impl Foo for dyn Send {} impl Foo for dyn Send + Send {} //~^ ERROR conflicting implementations -//~| hard error impl Foo for dyn Send + Sync {} impl Foo for dyn Sync + Send {} //~^ ERROR conflicting implementations -//~| hard error impl Foo for dyn Send + Sync + Send {} //~^ ERROR conflicting implementations -//~| hard error fn main() {} |
