Commit 2e2f860
committed
Fix ambiguity of glob import with
```
error[E0659]: `matches` is ambiguous (glob import vs any other name from outer scope during import/macro resolution)
--> html5ever/src/tree_builder/tag_sets.rs:109:5
|
109 | matches!(
| ^^^^^^^ ambiguous name
|
= note: `matches` could refer to a macro from prelude
note: `matches` could also refer to the macro imported here
--> html5ever/src/tree_builder/tag_sets.rs:13:5
|
13 | use mac::*;
| ^^^^^^
= help: consider adding an explicit import of `matches` to disambiguate
= help: or use `self::matches` to refer to this macro unambiguously
error: aborting due to 2 previous errors
```matches! now in the standard library1 parent fbe0779 commit 2e2f860
File tree
6 files changed
+6
-6
lines changed- html5ever
- src
- tree_builder
- util
- xml5ever
- src
- tree_builder
- util
6 files changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments