-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
139 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,76 +1,62 @@ | ||
error: cannot find derive macro `FooWithLongNan` in this scope | ||
--> $DIR/resolve-error.rs:36:10 | ||
--> $DIR/resolve-error.rs:37:10 | ||
| | ||
36 | #[derive(FooWithLongNan)] | ||
| ^^^^^^^^^^^^^^ | ||
| | ||
= help: did you mean `FooWithLongName`? | ||
37 | #[derive(FooWithLongNan)] | ||
| ^^^^^^^^^^^^^^ help: try: `FooWithLongName` | ||
|
||
error: cannot find attribute macro `attr_proc_macra` in this scope | ||
--> $DIR/resolve-error.rs:39:3 | ||
| | ||
39 | #[attr_proc_macra] | ||
| ^^^^^^^^^^^^^^^ | ||
--> $DIR/resolve-error.rs:40:3 | ||
| | ||
= help: did you mean `attr_proc_macro`? | ||
40 | #[attr_proc_macra] | ||
| ^^^^^^^^^^^^^^^ help: try: `attr_proc_macro` | ||
|
||
error: cannot find attribute macro `FooWithLongNan` in this scope | ||
--> $DIR/resolve-error.rs:42:3 | ||
--> $DIR/resolve-error.rs:43:3 | ||
| | ||
42 | #[FooWithLongNan] | ||
43 | #[FooWithLongNan] | ||
| ^^^^^^^^^^^^^^ | ||
|
||
error: cannot find derive macro `Dlone` in this scope | ||
--> $DIR/resolve-error.rs:45:10 | ||
--> $DIR/resolve-error.rs:46:10 | ||
| | ||
45 | #[derive(Dlone)] | ||
| ^^^^^ | ||
| | ||
= help: did you mean `Clone`? | ||
46 | #[derive(Dlone)] | ||
| ^^^^^ help: try: `Clone` | ||
|
||
error: cannot find derive macro `Dlona` in this scope | ||
--> $DIR/resolve-error.rs:48:10 | ||
| | ||
48 | #[derive(Dlona)] | ||
| ^^^^^ | ||
--> $DIR/resolve-error.rs:49:10 | ||
| | ||
= help: did you mean `Clona`? | ||
49 | #[derive(Dlona)] | ||
| ^^^^^ help: try: `Clona` | ||
|
||
error: cannot find derive macro `attr_proc_macra` in this scope | ||
--> $DIR/resolve-error.rs:51:10 | ||
--> $DIR/resolve-error.rs:52:10 | ||
| | ||
51 | #[derive(attr_proc_macra)] | ||
52 | #[derive(attr_proc_macra)] | ||
| ^^^^^^^^^^^^^^^ | ||
|
||
error: cannot find macro `FooWithLongNama!` in this scope | ||
--> $DIR/resolve-error.rs:55:5 | ||
--> $DIR/resolve-error.rs:56:5 | ||
| | ||
55 | FooWithLongNama!(); | ||
| ^^^^^^^^^^^^^^^ | ||
| | ||
= help: did you mean `FooWithLongNam!`? | ||
56 | FooWithLongNama!(); | ||
| ^^^^^^^^^^^^^^^ help: you could try the macro: `FooWithLongNam!` | ||
|
||
error: cannot find macro `attr_proc_macra!` in this scope | ||
--> $DIR/resolve-error.rs:57:5 | ||
| | ||
57 | attr_proc_macra!(); | ||
| ^^^^^^^^^^^^^^^ | ||
--> $DIR/resolve-error.rs:58:5 | ||
| | ||
= help: did you mean `attr_proc_mac!`? | ||
58 | attr_proc_macra!(); | ||
| ^^^^^^^^^^^^^^^ help: you could try the macro: `attr_proc_mac!` | ||
|
||
error: cannot find macro `Dlona!` in this scope | ||
--> $DIR/resolve-error.rs:59:5 | ||
--> $DIR/resolve-error.rs:60:5 | ||
| | ||
59 | Dlona!(); | ||
60 | Dlona!(); | ||
| ^^^^^ | ||
|
||
error: cannot find macro `bang_proc_macrp!` in this scope | ||
--> $DIR/resolve-error.rs:61:5 | ||
| | ||
61 | bang_proc_macrp!(); | ||
| ^^^^^^^^^^^^^^^ | ||
--> $DIR/resolve-error.rs:62:5 | ||
| | ||
= help: did you mean `bang_proc_macro!`? | ||
62 | bang_proc_macrp!(); | ||
| ^^^^^^^^^^^^^^^ help: you could try the macro: `bang_proc_macro!` | ||
|
||
error: aborting due to 10 previous errors | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
error: cast to unsized type: `&{integer}` as `std::marker::Send` | ||
error[E0620]: cast to unsized type: `&{integer}` as `std::marker::Send` | ||
--> $DIR/cast-to-unsized-trait-object-suggestion.rs:12:5 | ||
| | ||
12 | &1 as Send; | ||
| ^^^^^^---- | ||
| | | ||
| help: try casting to a reference instead: `&Send` | ||
|
||
error: cast to unsized type: `std::boxed::Box<{integer}>` as `std::marker::Send` | ||
error[E0620]: cast to unsized type: `std::boxed::Box<{integer}>` as `std::marker::Send` | ||
--> $DIR/cast-to-unsized-trait-object-suggestion.rs:13:5 | ||
| | ||
13 | Box::new(1) as Send; | ||
| ^^^^^^^^^^^^^^^---- | ||
| | | ||
| help: try casting to a `Box` instead: `Box<Send>` | ||
|
||
error: aborting due to previous error(s) | ||
error: aborting due to 2 previous errors | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.