get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/1.1/patches/2223304/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2223304,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2223304/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260414231905.191063-42-arthur.cohen@embecosm.com/",
    "project": {
        "id": 17,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/17/?format=api",
        "name": "GNU Compiler Collection",
        "link_name": "gcc",
        "list_id": "gcc-patches.gcc.gnu.org",
        "list_email": "gcc-patches@gcc.gnu.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null
    },
    "msgid": "<20260414231905.191063-42-arthur.cohen@embecosm.com>",
    "date": "2026-04-14T23:19:03",
    "name": "[COMMITTED,42/43] gccrs: Added test case for global import all",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "5442b74dca73add9d721e30226c27e2624a3192d",
    "submitter": {
        "id": 83476,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/83476/?format=api",
        "name": "Arthur Cohen",
        "email": "arthur.cohen@embecosm.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260414231905.191063-42-arthur.cohen@embecosm.com/mbox/",
    "series": [
        {
            "id": 499900,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/499900/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=499900",
            "date": "2026-04-14T23:18:24",
            "name": "[COMMITTED,01/43] gccrs: testsuite:Add a testcase for setup_associated_types",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/499900/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2223304/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2223304/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=embecosm.com header.i=@embecosm.com header.a=rsa-sha256\n header.s=google header.b=fXxDUCJi;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=2620:52:6:3111::32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)",
            "sourceware.org;\n\tdkim=pass (2048-bit key,\n unprotected) header.d=embecosm.com header.i=@embecosm.com header.a=rsa-sha256\n header.s=google header.b=fXxDUCJi",
            "sourceware.org;\n dmarc=none (p=none dis=none) header.from=embecosm.com",
            "sourceware.org; spf=pass smtp.mailfrom=embecosm.com",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=209.85.128.66"
        ],
        "Received": [
            "from vm01.sourceware.org (vm01.sourceware.org\n [IPv6:2620:52:6:3111::32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fwLBm0Q5Hz1yHc\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 15 Apr 2026 09:31:27 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 0CE774BA23C0\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 14 Apr 2026 23:31:26 +0000 (GMT)",
            "from mail-wm1-f66.google.com (mail-wm1-f66.google.com\n [209.85.128.66])\n by sourceware.org (Postfix) with ESMTPS id 1E5124BA2E3C\n for <gcc-patches@gcc.gnu.org>; Tue, 14 Apr 2026 23:15:19 +0000 (GMT)",
            "by mail-wm1-f66.google.com with SMTP id\n 5b1f17b1804b1-482f454be5bso64819595e9.0\n for <gcc-patches@gcc.gnu.org>; Tue, 14 Apr 2026 16:15:19 -0700 (PDT)",
            "from platypus.localdomain (176-147-231-59.abo.bbox.fr.\n [176.147.231.59]) by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-488f1dd8806sm3325945e9.3.2026.04.14.16.15.16\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 14 Apr 2026 16:15:16 -0700 (PDT)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 0CE774BA23C0",
            "OpenDKIM Filter v2.11.0 sourceware.org 1E5124BA2E3C"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 1E5124BA2E3C",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 1E5124BA2E3C",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776208519; cv=none;\n b=JiIjSK9UHfGvhmjlPjHOvk+sH+wayCFdZPHaKfwSbgw/22FbqcPU/qqjxsVFzmPIyikzwidAPY6zwQZCuifhkg431GMcs2lBo9H/FD7OW4SnqZDBPy25P6h7QG+KyWHjQ4p/eAKaK9O8yMHN5agjp1L7foOBnrbErRZ2/D6mAI4=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776208519; c=relaxed/simple;\n bh=ilSdU85P9RBc4DJuHSBxRUfjoUqrUKe8nM3Py6wYqIM=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=JR1m+o2PrWXX93rLQ6I3l2q78yVWcr/s4ogvddOXVeTciWvODzKPFywpNnHsrXdhYioI4OPWfyT/ktronnud/zSjweUNpHAaGHPVGavf/OZoDVa8jG4UAySWB5Hf/qZDQ4TvJkYqJM6eXE3fjKGInAjMIzlmO7L9r807pYELiTg=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=embecosm.com; s=google; t=1776208518; x=1776813318; darn=gcc.gnu.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=J4tfpBkBsPsAi5TFaur8i5PBnxfJAFfnXLNLDLTP/Ng=;\n b=fXxDUCJiu4xCnKRak/KXMU6nne3+OnnzlBTIFhZ/VFTlFLqB7Pp+AL4/U+SbcgyLOq\n T6lcMKkZTsL8g8Q/Wy84Rxz8oGutsgOST7c1ekA31cfidQpXfP1wLPd7KLhnDRcLGmyU\n nEOGENZ/kMcZfrBZ2zcPaz6uOA0edrc5lY+VLYgkBDABqblh4oPUlr1inFf4pBptTLu4\n VGPXCusYZm09rysoJMqi/4AqNzoW2cMFLLxC3IjKrn75ACsdergGdj7OgUu7wLRbniBN\n Kgej4lxr30hiCFbqexp6G0+bXFpAVpxu+NIEYxi9954Ch5jgHcWqCPr3JPmOLtqVLoSz\n Ievg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776208518; x=1776813318;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=J4tfpBkBsPsAi5TFaur8i5PBnxfJAFfnXLNLDLTP/Ng=;\n b=ascCDOX4KjcoxcBpsP6pjVUToXX/akepKnlUp+kaiKiwqEpRgebIVLii9xi8JEggxI\n 8c6wd6I/eK7muFLT9CubZxquXHZpqgRgLYzXDCuRle4xALKX8af/2wMIJBCBtOJJWm6K\n j55BlK9NVvOydJVoOg7hLLC9wii/lkpcSX5rn/hiV9av/WjvQkN2d+ZBLH95n63ziBo5\n g3kInaccQDAKggrY79nRyZ3WUqRoAqMsnaxjg5nICKMWUPr/Y4FBDNKLlIzajgjA1LaH\n iyGVLk3zcwZrOaQEHIxSyh8SC+ibCrubfOSGDmhYVY4fGSZu9cXyqhzZ8jeiI88E2VPi\n A0FA==",
        "X-Gm-Message-State": "AOJu0YyFWnv+rRfUR4ovtskvXPevnGrRFFaP12RfTBkfBAMIFNnnOOIz\n 7n9OCnC7lw+vfFTFDe1TjukSZF0A5MHpsRv+SX2SpbJyRW9b9bWQNJbkq+8q/GutWqGENeA/NJe\n 969pRzAug",
        "X-Gm-Gg": "AeBDies/cHz5Cx1D5rvnPDpqnLA+LSlNJs2IHWsA8lecpWgWBBATc8GINVfkm0PNp5f\n 5pj159AhLlvB1dPvOdGpRurr3P3RSEHOkbv294TS4fJEOEevvJuQx/OVXuxMHxI32juA/mwIRP3\n ZSEap4RO4Vf4GP2rxg5emXTztFwBF2YJTZhaXoQhmKTVAR0FngA9hSot6XFvI7cAnnQP5TZjAwf\n MRiYozaEHmVZfC7EgBMxocCGj8W/O3rdadyxlyIKwLVn94ury4qJXOzcYngmiw+QoKZJyJm90FX\n XF7fT82yJ0kk/eMjV5j3RkZbmAqoMXGaPsmS7SXCF4xycIM0iPQIAvlp9wRcraMUFijk2EGz6Hq\n d6XXIkUIFxy+DbZtcrvt9Wd/HeZsrtr8Sr8SMfwtAnBtaOevihKROnHkZ2OpTx6hOU5d9wMCSUo\n FbKq6uoy0lDbTX/gGAvRgxOydLHJOu3s7RCCkK6tDkAKnPlkTHtHU5pX8zWyMDDq/MqADF60voZ\n a3Ku6fIn4XIrrJm",
        "X-Received": "by 2002:a05:600d:8496:10b0:486:f893:56c6 with SMTP id\n 5b1f17b1804b1-488db8d16aamr139544155e9.10.1776208517827;\n Tue, 14 Apr 2026 16:15:17 -0700 (PDT)",
        "From": "arthur.cohen@embecosm.com",
        "To": "gcc-patches@gcc.gnu.org",
        "Cc": "gcc-rust@gcc.gnu.org,\n\tAhmedSaid3617 <said.ahmed3617@gmail.com>",
        "Subject": "[COMMITTED 42/43] gccrs: Added test case for global import all",
        "Date": "Wed, 15 Apr 2026 01:19:03 +0200",
        "Message-ID": "<20260414231905.191063-42-arthur.cohen@embecosm.com>",
        "X-Mailer": "git-send-email 2.50.1",
        "In-Reply-To": "<20260414231905.191063-1-arthur.cohen@embecosm.com>",
        "References": "<20260414231905.191063-1-arthur.cohen@embecosm.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "gcc-patches@gcc.gnu.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "Gcc-patches mailing list <gcc-patches.gcc.gnu.org>",
        "List-Unsubscribe": "<https://gcc.gnu.org/mailman/options/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe>",
        "List-Archive": "<https://gcc.gnu.org/pipermail/gcc-patches/>",
        "List-Post": "<mailto:gcc-patches@gcc.gnu.org>",
        "List-Help": "<mailto:gcc-patches-request@gcc.gnu.org?subject=help>",
        "List-Subscribe": "<https://gcc.gnu.org/mailman/listinfo/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>",
        "Errors-To": "gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"
    },
    "content": "From: AhmedSaid3617 <said.ahmed3617@gmail.com>\n\ngcc/testsuite/ChangeLog:\n\n\t* rust/compile/glob-import-all.rs: New test.\n\nSigned-off-by: AhmedSaid3617 <said.ahmed3617@gmail.com>\n---\n gcc/testsuite/rust/compile/glob-import-all.rs | 9 +++++++++\n 1 file changed, 9 insertions(+)\n create mode 100644 gcc/testsuite/rust/compile/glob-import-all.rs",
    "diff": "diff --git a/gcc/testsuite/rust/compile/glob-import-all.rs b/gcc/testsuite/rust/compile/glob-import-all.rs\nnew file mode 100644\nindex 00000000000..9e409ee841e\n--- /dev/null\n+++ b/gcc/testsuite/rust/compile/glob-import-all.rs\n@@ -0,0 +1,9 @@\n+// { dg-additional-options \"-frust-edition=2015\" }\n+\n+#![feature(no_core)]\n+#![no_core]\n+\n+mod a {\n+    #[allow(unused)]\n+    use ::*;\n+}\n",
    "prefixes": [
        "COMMITTED",
        "42/43"
    ]
}