Skip to content

Commit 874fe3b

Browse files
Update uitest stderrs
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
1 parent 6a22cf7 commit 874fe3b

38 files changed

+274
-85
lines changed

compiler/rustc_error_codes/src/error_codes/E0466.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
#### Note: this error code is no longer emitted by the compiler.
2+
13
Macro import declaration was malformed.
24

35
Erroneous code examples:
46

5-
```compile_fail,E0466
7+
```compile_fail
68
#[macro_use(a_macro(another_macro))] // error: invalid import declaration
79
extern crate core as some_crate;
810

tests/pretty/hir-delegation.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#![feature(fn_delegation)]
77
#[prelude_import]
88
use ::std::prelude::rust_2015::*;
9-
#[macro_use]
9+
#[attr = MacroUse {arguments: UseAll}]
1010
extern crate std;
1111

1212
fn b<C>(e: C) { }

tests/pretty/hir-fn-params.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#[prelude_import]
22
use ::std::prelude::rust_2015::*;
3-
#[macro_use]
3+
#[attr = MacroUse {arguments: UseAll}]
44
extern crate std;
55
//@ pretty-compare-only
66
//@ pretty-mode:hir

tests/pretty/hir-fn-variadic.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#![feature(c_variadic)]
66
#[prelude_import]
77
use ::std::prelude::rust_2015::*;
8-
#[macro_use]
8+
#[attr = MacroUse {arguments: UseAll}]
99
extern crate std;
1010

1111
extern "C" {

tests/pretty/hir-if-else.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#[prelude_import]
22
use ::std::prelude::rust_2015::*;
3-
#[macro_use]
3+
#[attr = MacroUse {arguments: UseAll}]
44
extern crate std;
55
//@ pretty-compare-only
66
//@ pretty-mode:hir

tests/pretty/hir-lifetimes.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#![allow(unused)]
88
#[prelude_import]
99
use ::std::prelude::rust_2015::*;
10-
#[macro_use]
10+
#[attr = MacroUse {arguments: UseAll}]
1111
extern crate std;
1212

1313
struct Foo<'a> {

tests/pretty/hir-pretty-attr.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#[prelude_import]
22
use ::std::prelude::rust_2015::*;
3-
#[macro_use]
3+
#[attr = MacroUse {arguments: UseAll}]
44
extern crate std;
55
//@ pretty-compare-only
66
//@ pretty-mode:hir

tests/pretty/hir-pretty-loop.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#[prelude_import]
22
use ::std::prelude::rust_2015::*;
3-
#[macro_use]
3+
#[attr = MacroUse {arguments: UseAll}]
44
extern crate std;
55
//@ pretty-compare-only
66
//@ pretty-mode:hir

tests/pretty/hir-struct-expr.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#[prelude_import]
22
use ::std::prelude::rust_2015::*;
3-
#[macro_use]
3+
#[attr = MacroUse {arguments: UseAll}]
44
extern crate std;
55
//@ pretty-compare-only
66
//@ pretty-mode:hir

tests/pretty/issue-4264.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#[prelude_import]
22
use ::std::prelude::rust_2015::*;
3-
#[macro_use]
3+
#[attr = MacroUse {arguments: UseAll}]
44
extern crate std;
55
//@ pretty-compare-only
66
//@ pretty-mode:hir,typed

0 commit comments

Comments
 (0)