diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2018-01-08 13:43:42 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2018-01-13 16:07:13 -0800 |
| commit | 0ecaa67e9082b609bd8fd315b6cc41be7e8ee139 (patch) | |
| tree | 52ec33dd42e044de23a02791ced2315bc1cf56bf /src/test/ui/feature-gate | |
| parent | 5f006cebfc5939195f6df6d1f50f02f079233928 (diff) | |
rustc: Refactor attribute checking to operate on HIR
This'll enable running queries that could be cached and overall be more amenable to the query infastructure.
Diffstat (limited to 'src/test/ui/feature-gate')
| -rw-r--r-- | src/test/ui/feature-gate/issue-43106-gating-of-inline.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/feature-gate/issue-43106-gating-of-inline.stderr b/src/test/ui/feature-gate/issue-43106-gating-of-inline.stderr index 92bda4d0446..444c4176994 100644 --- a/src/test/ui/feature-gate/issue-43106-gating-of-inline.stderr +++ b/src/test/ui/feature-gate/issue-43106-gating-of-inline.stderr @@ -1,3 +1,5 @@ +error[E0601]: main function not found + error[E0518]: attribute should be applied to function --> $DIR/issue-43106-gating-of-inline.rs:21:1 | @@ -37,7 +39,5 @@ error[E0518]: attribute should be applied to function 35 | #[inline = "2100"] impl S { } | ^^^^^^^^^^^^^^^^^^ ---------- not a function -error[E0601]: main function not found - error: aborting due to 6 previous errors |
