From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#70794: 30.0.50; Add Rust compilation regex Date: Sat, 18 May 2024 13:52:29 +0300 Message-ID: <868r07e6j6.fsf@gnu.org> References: <87y18nsp84.fsf.ref@aol.com> <87y18nsp84.fsf@aol.com> <86le4g3f5z.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25698"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70794-done@debbugs.gnu.org To: Ergus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 18 12:53:22 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s8Hgo-0006Uc-OX for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 May 2024 12:53:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s8HgS-000558-Sn; Sat, 18 May 2024 06:53:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s8HgR-00054i-Eq for bug-gnu-emacs@gnu.org; Sat, 18 May 2024 06:52:59 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s8HgR-0003B6-3Q for bug-gnu-emacs@gnu.org; Sat, 18 May 2024 06:52:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s8HgT-0001ej-VU for bug-gnu-emacs@gnu.org; Sat, 18 May 2024 06:53:01 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 May 2024 10:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 70794 X-GNU-PR-Package: emacs Mail-Followup-To: 70794@debbugs.gnu.org, eliz@gnu.org, spacibba@aol.com Original-Received: via spool by 70794-done@debbugs.gnu.org id=D70794.17160295676347 (code D ref 70794); Sat, 18 May 2024 10:53:01 +0000 Original-Received: (at 70794-done) by debbugs.gnu.org; 18 May 2024 10:52:47 +0000 Original-Received: from localhost ([127.0.0.1]:60998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8HgF-0001eJ-9M for submit@debbugs.gnu.org; Sat, 18 May 2024 06:52:47 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8HgC-0001eD-Vj for 70794-done@debbugs.gnu.org; Sat, 18 May 2024 06:52:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s8Hg3-00037l-JT; Sat, 18 May 2024 06:52:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=iuiwmZDI/IJN80HXmbTSs8XzHxIf2A9fkGLXN2/ozRY=; b=NYtR0lNhI/Rq KmC46kROcZeCISxlMuulyVYRpdSUSYk/BM1N+MTiGcKthTD/7IdsetzLmo6MhoGtOkZqS07C/1e7t vVgA0KVLO61VTFM/8YDd+x2y7HpSV+GIea1O7TY2kHUeBs7OpEYIrfTyptAtnWEPYBMGz7no5IqXQ 7x+sJKeAmJLOUm2HBTGf1tJTBg2jxonc9QVfMctfPgFJ4RJgEgrM/joJnENhu/6bYsQo7zItasVrB pWzb8xtLtrzyf1kj2CaMCwMtewBwtV6jpKmyEYSa11xm0FpMGMLhWSZwNKyFcsKZlLE0Ku4bHZEyK f/lx8GT7huBrzJqZz99ILA==; In-Reply-To: (message from Ergus on Wed, 15 May 2024 15:10:02 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:285318 Archived-At: > Date: Wed, 15 May 2024 15:10:02 +0200 > From: Ergus > Cc: 70794@debbugs.gnu.org > > On Sat, May 11, 2024 at 11:51:04AM GMT, Eli Zaretskii wrote: > > > >Thanks, but could you please also send the examples of Rust messages, > >because we need to add them to etc/compilation.txt? > > Hi Eli: > > Typically they look like this: > > ``` > error[E0425]: cannot find function `ruun` in module `broot::cli` > --> src/main.rs:6:23 > | > 6 | match broot::cli::ruun() { > | ^^^^ help: a function with a similar name exists: `run` > | > ::: /tmp/broot/src/cli/mod.rs:49:1 > | > 49 | pub fn run() -> Result, ProgramError> { > | -------------------------------------------------------- similarly > named function `run` defined here > ``` > > or > > ``` > error: cannot find macro `deebug` in this scope > --> src/main.rs:5:5 > | > 5 | deebug!("env::args(): {:#?}", std::env::args().collect::>()); > | ^^^^^^ help: a macro with a similar name exists: `debug` > | > ::: /home/ergo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.21/src/macros.rs:154:1 > | > 154 | macro_rules! debug { > | ------------------ similarly named macro `debug` defined here > ``` > > ``` > warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]` > --> src/main.rs:3:1 > | > 3 | #[feature(proc_macro_diagnostic)] > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | > = note: `#[warn(unused_attributes)]` on by default > ``` > > Two details: > > 1. As you can see the [] is optional > 2. The path is always relative to project's root Thanks, installed on master, and closing the bug.