diff options
| author | joboet <jonasboettiger@icloud.com> | 2023-07-26 12:30:52 +0200 |
|---|---|---|
| committer | joboet <jonasboettiger@icloud.com> | 2023-07-26 12:30:52 +0200 |
| commit | 29e3f8b793ec3b76fdba8075adfada21ce2a220a (patch) | |
| tree | d2b59c9a5fc39e20eac0a3c7935975f637d089a7 /library/std/tests/backtrace.rs | |
| parent | 6776af529a163d5830fea577cf00619940b27908 (diff) | |
| download | rust-29e3f8b793ec3b76fdba8075adfada21ce2a220a.tar.gz rust-29e3f8b793ec3b76fdba8075adfada21ce2a220a.zip | |
std: add auto traits to TAIT bound
Diffstat (limited to 'library/std/tests/backtrace.rs')
| -rw-r--r-- | library/std/tests/backtrace.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/library/std/tests/backtrace.rs b/library/std/tests/backtrace.rs deleted file mode 100644 index 531c5f89cf6..00000000000 --- a/library/std/tests/backtrace.rs +++ /dev/null @@ -1,10 +0,0 @@ -use std::backtrace::Backtrace; - -// Unfortunately, this cannot be a unit test because that causes problems -// with type-alias-impl-trait (the assert counts as a defining use). -#[test] -fn assert_send_sync() { - fn assert<T: Send + Sync>() {} - - assert::<Backtrace>(); -} |
