aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/compilation.txt39
-rw-r--r--lisp/progmodes/compile.el7
2 files changed, 46 insertions, 0 deletions
diff --git a/etc/compilation.txt b/etc/compilation.txt
index 05f0829864c..44388e1f197 100644
--- a/etc/compilation.txt
+++ b/etc/compilation.txt
@@ -523,6 +523,45 @@ NoMethodError: undefined method `not_exists' for nil:NilClass
523 523
5244 tests, 3 assertions, 3 failures, 1 errors 5244 tests, 3 assertions, 3 failures, 1 errors
525 525
526* Rust
527
528symbol: cargo
529
530The [] part is optional, and the file names are always relative to
531project's root.
532
533error[E0425]: cannot find function `ruun` in module `broot::cli`
534 --> src/main.rs:6:23
535 |
5366 | match broot::cli::ruun() {
537 | ^^^^ help: a function with a similar name exists: `run`
538 |
539 ::: /tmp/broot/src/cli/mod.rs:49:1
540 |
54149 | pub fn run() -> Result<Option<Launchable>, ProgramError> {
542 | -------------------------------------------------------- similarly
543 named function `run` defined here
544
545error: cannot find macro `deebug` in this scope
546 --> src/main.rs:5:5
547 |
5485 | deebug!("env::args(): {:#?}", std::env::args().collect::<Vec<String>>());
549 | ^^^^^^ help: a macro with a similar name exists: `debug`
550 |
551 ::: /home/ergo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.21/src/macros.rs:154:1
552 |
553154 | macro_rules! debug {
554 | ------------------ similarly named macro `debug` defined here
555
556warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
557 --> src/main.rs:3:1
558 |
5593 | #[feature(proc_macro_diagnostic)]
560 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
561 |
562 = note: `#[warn(unused_attributes)]` on by default
563
564
526* RXP 565* RXP
527 566
528symbol: rxp 567symbol: rxp
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index b18eb81fee1..2e4eb11811a 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -224,6 +224,13 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2 nil (1))
224\\(?: characters? \\([0-9]+\\)-?\\([0-9]+\\)?:\\)?\\([ \n]Warning\\(?: [0-9]+\\)?:\\)?\\)" 224\\(?: characters? \\([0-9]+\\)-?\\([0-9]+\\)?:\\)?\\([ \n]Warning\\(?: [0-9]+\\)?:\\)?\\)"
225 2 (3 . 4) (5 . 6) (7)) 225 2 (3 . 4) (5 . 6) (7))
226 226
227 (cargo
228 "\\(?:\\(?4:error\\)\\|\\(?5:warning\\)\\):[^\0]+?--> \\(?1:[^:]+\\):\\(?2:[[:digit:]]+\\):\\(?3:[[:digit:]]+\\)"
229 1 2 3 (5)
230 nil
231 (5 compilation-warning-face)
232 (4 compilation-error-face))
233
227 (cmake 234 (cmake
228 "^CMake \\(?:Error\\|\\(Warning\\)\\) at \\(.*\\):\\([1-9][0-9]*\\) ([^)]+):$" 235 "^CMake \\(?:Error\\|\\(Warning\\)\\) at \\(.*\\):\\([1-9][0-9]*\\) ([^)]+):$"
229 2 3 nil (1)) 236 2 3 nil (1))