summaryrefslogtreecommitdiffstats
path: root/src/test/ui/coherence/auxiliary/re_rebalance_coherence_lib-rpass.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:58 +0000
commita4b7ed7a42c716ab9f05e351f003d589124fd55d (patch)
treeb620cd3f223850b28716e474e80c58059dca5dd4 /src/test/ui/coherence/auxiliary/re_rebalance_coherence_lib-rpass.rs
parentAdding upstream version 1.67.1+dfsg1. (diff)
downloadrustc-a4b7ed7a42c716ab9f05e351f003d589124fd55d.tar.xz
rustc-a4b7ed7a42c716ab9f05e351f003d589124fd55d.zip
Adding upstream version 1.68.2+dfsg1.upstream/1.68.2+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/ui/coherence/auxiliary/re_rebalance_coherence_lib-rpass.rs')
-rw-r--r--src/test/ui/coherence/auxiliary/re_rebalance_coherence_lib-rpass.rs31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/test/ui/coherence/auxiliary/re_rebalance_coherence_lib-rpass.rs b/src/test/ui/coherence/auxiliary/re_rebalance_coherence_lib-rpass.rs
deleted file mode 100644
index 9a191bad8..000000000
--- a/src/test/ui/coherence/auxiliary/re_rebalance_coherence_lib-rpass.rs
+++ /dev/null
@@ -1,31 +0,0 @@
-pub trait Backend {}
-pub trait SupportsDefaultKeyword {}
-
-impl SupportsDefaultKeyword for Postgres {}
-
-pub struct Postgres;
-
-impl Backend for Postgres {}
-
-pub struct AstPass<DB>(::std::marker::PhantomData<DB>);
-
-pub trait QueryFragment<DB: Backend> {}
-
-
-#[derive(Debug, Clone, Copy)]
-pub struct BatchInsert<'a, T: 'a, Tab> {
- _marker: ::std::marker::PhantomData<(&'a T, Tab)>,
-}
-
-impl<'a, T:'a, Tab, DB> QueryFragment<DB> for BatchInsert<'a, T, Tab>
-where DB: SupportsDefaultKeyword + Backend,
-{}
-
-pub trait LibToOwned {
- type Owned;
-}
-
-pub struct LibCow<T: LibToOwned, Owned = <T as LibToOwned>::Owned> {
- pub t: T,
- pub o: Owned,
-}