Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp184653rwd; Wed, 14 Jun 2023 14:19:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5GhgS9cTp0Q4t7Ieex9ix1dNT/ISPv0I9n5UylxSzYfpjoS+DGreUHlCOx9SDBarN/EeTo X-Received: by 2002:a17:907:6e23:b0:970:e80:e29a with SMTP id sd35-20020a1709076e2300b009700e80e29amr15509169ejc.68.1686777562497; Wed, 14 Jun 2023 14:19:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686777562; cv=none; d=google.com; s=arc-20160816; b=IsR2W8mRtUVcB2VTCrWkqoak+mndCJLQYiCC604VdzNNBIuux22DJF5DJulHoA0PyJ Y48/IFHkfb9JvTnfw/jiQT+HbDjIbKumUcm9FHuQPsxkKnYax0Vr8pXty0YSnHY9j8hM XJN4BF9yhIDnYWLckwY47O99yF+8ho6WPBi9kZomJv6aE0R63veAc33lqca9l8uXKiH6 +JVchkzgDLYI5zae72USKVU5rSeic9z/lrsjB54DIVwP/1iSSGgm87ESLJA1bNMC/zgT xsHO9DIDRS3NM30nZQq6laxy5Sfvoo5wGuyIrWhKZZSUDF2pF3AW+dWcLMLZzCZ7yM4K aLcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:dkim-signature; bh=czEjt+NjAyuH0cAt6yqFee89woVRFsyvQrYC+0eGV9Y=; b=cVlJRxEyLfVQ1Ut6ARmdvbUiNcMylDwcO2AMU46cgTSbENEkbXn58beuRnt3rVyngG erI+487UF6z9dX3/hYoxwafrjSFM8uqwvm2vxXzTBruPLJiU72vj1Bx/fMgqM7KaBNvz 63+HOTyVSHnyZSb2QbJw82coIvVdipGf+KbVki6+JEnHxCDjfLiuich+Rcj5gjwbMe2v GFsopH5J1R8dBKVa6EEyJ6XGtUiFp3irQpLXF1iOo9kkzGsSO2GWizR4iEjLlm5jqdvh 3p26Tartti7eg6XPk9ocRYePNc3c9qWuprMC7W+aBxEXpjgY4UzeV3EdpHyrdoY9TOmL XoVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=G7nM3HJO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b21-20020a1709062b5500b00965e0507037si8427872ejg.671.2023.06.14.14.18.57; Wed, 14 Jun 2023 14:19:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=G7nM3HJO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232174AbjFNUcz (ORCPT + 99 others); Wed, 14 Jun 2023 16:32:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231129AbjFNUcX (ORCPT ); Wed, 14 Jun 2023 16:32:23 -0400 Received: from mail-yb1-xb4a.google.com (mail-yb1-xb4a.google.com [IPv6:2607:f8b0:4864:20::b4a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A2822133 for ; Wed, 14 Jun 2023 13:32:22 -0700 (PDT) Received: by mail-yb1-xb4a.google.com with SMTP id 3f1490d57ef6-bc9483b506fso1165147276.0 for ; Wed, 14 Jun 2023 13:32:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1686774742; x=1689366742; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=czEjt+NjAyuH0cAt6yqFee89woVRFsyvQrYC+0eGV9Y=; b=G7nM3HJOnTFO/r9nAs3VZ8ncUNpyRX/dBLh4cUcJcmbenazk6RT3d0BY4kl05VgC7M hNG3l1eFIHZy0gEKps3DT5vySPcxIostlF906zTm9a6QCda+Q5I9tcCdRY8YWvhUYCUW lsOxSdJQJNcHDnkCz4F10A5UyoXfstoJTMP4CDGufudVQ0bYtp3EOIDQWs1ea1W8e2lO QIxDHcHSEKPBkMjJd96eewXi0JWcq53nWPUQ5+57RZZSBUkQyIVjvR1yEgLxFtsud9z1 bS9oAGiiTJRrGkQXaK5TaTs/QZsSEcsG9PMfGSVuk52YwGs5GnAvb4usttTNRyYt2s4Y 0hdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686774742; x=1689366742; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=czEjt+NjAyuH0cAt6yqFee89woVRFsyvQrYC+0eGV9Y=; b=ZAg0uN0gYCXQF6GquPa4Y3ExTzgS7KwLvJeQKZ13+u0nQLiYQihBITcNx5QbwDst9G XOfbShoU/KeR6oIq866pGgK9aNhMX9Y2mu7ugkb1ULQI1bZKHqQ+jEHhDfHaPBMKXD+N YESVqFyCGQwrOyBGeHZnxj5AdKVXfrRzvPb521cI7B5fEM00aL2kgkED+vDsAneyxNnI xXqNr/QgTeyo9kUbrV0yBgzLMinHuDLtN7UwPPoWQiD6SrQ4dkAkD5aHotl60xwPFBd9 YqxpFP8WyoHdgl+gdHitr8mS4XqFGiL70T+PGJHsBhUb8hArnWcikZD7fbnroNAPzY0b pF7Q== X-Gm-Message-State: AC+VfDyKR41QXd+JuLU9rxX+p2XeKDpkm+hAoWhlnASNw6V8Cb7unJBa s1WSOfa0+4p39ruDqvbrDDShznKIobOOM48= X-Received: from aliceryhl.c.googlers.com ([fda3:e722:ac3:cc00:31:98fb:c0a8:6c8]) (user=aliceryhl job=sendgmr) by 2002:a5b:d42:0:b0:ba1:d0:7f7c with SMTP id f2-20020a5b0d42000000b00ba100d07f7cmr460247ybr.2.1686774741924; Wed, 14 Jun 2023 13:32:21 -0700 (PDT) Date: Wed, 14 Jun 2023 20:32:19 +0000 In-Reply-To: <20230614180837.630180-3-ojeda@kernel.org> Mime-Version: 1.0 References: <20230614180837.630180-3-ojeda@kernel.org> X-Mailer: git-send-email 2.41.0.162.gfafddb0af9-goog Message-ID: <20230614203219.2909087-1-aliceryhl@google.com> Subject: Re: [PATCH 2/6] rust: str: make doctests compilable/testable From: Alice Ryhl To: ojeda@kernel.org Cc: alex.gaynor@gmail.com, aliceryhl@google.com, benno.lossin@proton.me, bjorn3_gh@protonmail.com, boqun.feng@gmail.com, brendan.higgins@linux.dev, davidgow@google.com, gary@garyguo.net, kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, nmi@metaspace.dk, patches@lists.linux.dev, philip.li@intel.com, rust-for-linux@vger.kernel.org, wedsonaf@gmail.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Miguel Ojeda writes: > Rust documentation tests are going to be build/run-tested > with the KUnit integration added in a future patch, thus > update them to make them compilable/testable so that we > may start enforcing it. > > Signed-off-by: Miguel Ojeda Reviewed-by: Alice Ryhl