get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2223267,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2223267/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260414231905.191063-6-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-6-arthur.cohen@embecosm.com>",
    "date": "2026-04-14T23:18:27",
    "name": "[COMMITTED,06/43] gccrs: Fix a typo",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "1715e43d929dd820fafce86e72142f48035dc16e",
    "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-6-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/2223267/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2223267/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=S5zGCZtI;\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=S5zGCZtI",
            "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.53"
        ],
        "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 4fwKqk6sFJz1yCv\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 15 Apr 2026 09:14:58 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 30A164BA23D3\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 14 Apr 2026 23:14:57 +0000 (GMT)",
            "from mail-wm1-f53.google.com (mail-wm1-f53.google.com\n [209.85.128.53])\n by sourceware.org (Postfix) with ESMTPS id C48C54BA23D9\n for <gcc-patches@gcc.gnu.org>; Tue, 14 Apr 2026 23:14:18 +0000 (GMT)",
            "by mail-wm1-f53.google.com with SMTP id\n 5b1f17b1804b1-488ab2db91aso94921895e9.3\n for <gcc-patches@gcc.gnu.org>; Tue, 14 Apr 2026 16:14:18 -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.14.15\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 14 Apr 2026 16:14:16 -0700 (PDT)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 30A164BA23D3",
            "OpenDKIM Filter v2.11.0 sourceware.org C48C54BA23D9"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org C48C54BA23D9",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org C48C54BA23D9",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776208459; cv=none;\n b=H/cbXSbD6+AOqSGsWSopOj0GRumyzQjDpkJXq0FbkDXQe6A3vvAmHUZ/syWIiF/NPEzWUaHLAjFOdocuxEWlu5O2AZzZiOpgDJZQxLZOCDwGpHSqRunbKbOjtN+75E6VY5gm91u6LxF13U7sUur2d5ImrKamlRC+oCOYhpb5x5U=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776208459; c=relaxed/simple;\n bh=vxd9uLq0XHEOtx9Bxm2N5s0wk+bZGC9DdWV/NDyt5ZY=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=oVSZOilN/LTu7TCYSjL57QPR6I1jnvehZvneArZHaffXIZKMXKqCWkKmndSl5lKvfW3GgyYBvAwdHqcg+BOx/7/g9cAmbmYrSPmoQxcpgq8cCdFQ/IhYIULwCHFTOSMwK/sIs74/MT++vBZhIzOlo52UgKd5w21UPLvo1VNFyPc=",
        "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=1776208457; x=1776813257; 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=kfWilF1GQMAlOYjeU4bmD/eaEN42Kp6kg9c8mAirzRc=;\n b=S5zGCZtIA0dsZ9oc0/VzYSSsE44L7Du+yoQvoQA5S2ica/q5vKB6Q4jAtDy4GO9EsF\n Kx7iJn0L0wWAu0OIFZHwsljVFquLYHdHgpGKdvND3UF92jeMcsW5p4MNHNrG32X0ttpG\n cdGuW4FZo8VeJe4iLtJMKJtxDGACG4rkThhz9BOtMiXE9SCBC1y8Yu7SaItoL+pfFbIu\n TOKH4BnvJlQxda85Rf2UmhTXtU9ffqJZKfh8sdvBM0djIy/qHqmS+sv1GXjQ+5/ny+Mz\n iWXX+lhbGEjEq0NpBxoydU8kpJnQizl0LzDBAZKjS11m40WdtTzw2+KLmaS7vm2Z0Pw9\n c1UQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776208457; x=1776813257;\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=kfWilF1GQMAlOYjeU4bmD/eaEN42Kp6kg9c8mAirzRc=;\n b=htNGhuEggweYWfA+WQlDu+jV8JgCjw7bist1V4KoHjsFaWK8+xBmoFFQTXYyMiXEj3\n ab0NSDlu5lWIHDCWPkE0q7A2fXH89h5nBx+AZSdN+V3GkowWjMb2kyP2+QRy/J+ESMbh\n DA+tGGCmxEHHq8T1sRDA/jzGYKRQI8vCcbFg3O0qrZByCvBfI4wwZPeQ535l1YO+uoBO\n 2y9trys5GRf1fQ/a8wl5xaSEPPFU8z4IqQnQukxDF9s8Lc9ILxdK57q4alT98aetw2Tz\n Awq755E8swFx3z8SxAZao71RO2MSF+RYx4upbET85MUg6bA8s6+/ukOu0A+e+rEM7pjH\n 0cQA==",
        "X-Gm-Message-State": "AOJu0YzzlXdg8bOkeohdFUWXhF5qLY+nYKasxKMOyqPCURt0d8CrVrPe\n V/f/L8gQMPpidwkt3XpO8AR6jwu5tQoQ6DzLanbogrbqw1dVAuYohD4vo0Ex4CbVY3LlyKseqTf\n M7+BK/g==",
        "X-Gm-Gg": "AeBDieuF5rF6evXpX3/5Waa5qnDnf2xKjNH1U2YYS7VodCf2RuFe1HTGa+h5FPYXnZm\n gvF0RYP85ELIMqknmg9MVdOSIG0aUKIk/29WUzMwrAdTGGpO+CyQuBBfUuFZwpzCSHY/Ev+JWDi\n Bu1yTBepnWJmzC+gkk4cpHVpnM7zjZp2TsCLlLeGZxx6Wq45S0EQfhFZQTwetWR/9ogZjHGh3t7\n ihShRrDLSpOv/zMMQbuoKYcuGumWSTVjOJfVfPLzScajv+cuijzGzVAkTTHknUNNu3/excBi+ih\n ICbFSToiMzfSk6gUcTjpnA+tOudPdUeIHWVi6Nm116w0/JrNcqdkyqdtPZPnGJNM4niowlKk7Iw\n ZxKJFJXLI2BLStdtzpSsCJnwjoLl0UhyiMAlpI6d8DAhy9WZjeX8H2t/QzQlO8Ai39HUakvEb4K\n wX2BtcspoQeZ0LjV2KaElZ+s8xavrL2aCkW/iUwhQmASUKj0X1c3iv55BQsjZW1oNnIhKo90lXe\n lpE2Q==",
        "X-Received": "by 2002:a05:600c:a109:b0:477:76bf:e1fb with SMTP id\n 5b1f17b1804b1-488d6843245mr190579945e9.16.1776208457487;\n Tue, 14 Apr 2026 16:14:17 -0700 (PDT)",
        "From": "arthur.cohen@embecosm.com",
        "To": "gcc-patches@gcc.gnu.org",
        "Cc": "gcc-rust@gcc.gnu.org,\n\tOwen Avery <powerboat9.gamer@gmail.com>",
        "Subject": "[COMMITTED 06/43] gccrs: Fix a typo",
        "Date": "Wed, 15 Apr 2026 01:18:27 +0200",
        "Message-ID": "<20260414231905.191063-6-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: Owen Avery <powerboat9.gamer@gmail.com>\n\ngcc/rust/ChangeLog:\n\n\t* typecheck/rust-hir-type-check-pattern.cc\n\t(TypeCheckPattern::visit): Fix typo \"constatnt\".\n\nSigned-off-by: Owen Avery <powerboat9.gamer@gmail.com>\n---\n gcc/rust/typecheck/rust-hir-type-check-pattern.cc | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/gcc/rust/typecheck/rust-hir-type-check-pattern.cc b/gcc/rust/typecheck/rust-hir-type-check-pattern.cc\nindex 4f484ca0d9d..32b13714154 100644\n--- a/gcc/rust/typecheck/rust-hir-type-check-pattern.cc\n+++ b/gcc/rust/typecheck/rust-hir-type-check-pattern.cc\n@@ -135,7 +135,7 @@ TypeCheckPattern::visit (HIR::PathInExpression &pattern)\n \t  rich_location rich_locus (line_table,\n \t\t\t\t    pattern.get_final_segment ().get_locus ());\n \t  rich_locus.add_fixit_replace (\n-\t    \"not a unit struct, unit variant or constatnt\");\n+\t    \"not a unit struct, unit variant or constant\");\n \t  rust_error_at (rich_locus, ErrorCode::E0532,\n \t\t\t \"expected unit struct, unit variant or constant, \"\n \t\t\t \"found %s variant %<%s::%s%>\",\n",
    "prefixes": [
        "COMMITTED",
        "06/43"
    ]
}