aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def/src/nameres/tests
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-01-21 16:20:17 +0000
committerGitHub <[email protected]>2021-01-21 16:20:17 +0000
commitbbc6298600d7d91d8473ba8153ebde7b3a7768e5 (patch)
tree9c0e202072a97cea8c866e8da5563da9b38d37c2 /crates/hir_def/src/nameres/tests
parent235583f3fc886bb839f34c4ff5713d101939d95c (diff)
parentd157a03e93ca699a29ed9acbeeabffc2bfcbf6b5 (diff)
Merge #7377
7377: Remove unnecessary annotations from tests r=jonas-schievink a=jonas-schievink bors r+ Co-authored-by: Jonas Schievink <[email protected]>
Diffstat (limited to 'crates/hir_def/src/nameres/tests')
-rw-r--r--crates/hir_def/src/nameres/tests/block.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/crates/hir_def/src/nameres/tests/block.rs b/crates/hir_def/src/nameres/tests/block.rs
index b6c007920..01d6326a7 100644
--- a/crates/hir_def/src/nameres/tests/block.rs
+++ b/crates/hir_def/src/nameres/tests/block.rs
@@ -4,7 +4,6 @@ use super::*;
4fn inner_item_smoke() { 4fn inner_item_smoke() {
5 check_at( 5 check_at(
6 r#" 6 r#"
7//- /lib.rs
8struct inner {} 7struct inner {}
9fn outer() { 8fn outer() {
10 $0 9 $0
@@ -25,7 +24,6 @@ fn outer() {
25fn use_from_crate() { 24fn use_from_crate() {
26 check_at( 25 check_at(
27 r#" 26 r#"
28//- /lib.rs
29struct Struct; 27struct Struct;
30fn outer() { 28fn outer() {
31 use Struct; 29 use Struct;
@@ -50,7 +48,6 @@ fn outer() {
50fn merge_namespaces() { 48fn merge_namespaces() {
51 check_at( 49 check_at(
52 r#" 50 r#"
53//- /lib.rs
54struct name {} 51struct name {}
55fn outer() { 52fn outer() {
56 fn name() {} 53 fn name() {}
@@ -75,7 +72,6 @@ fn outer() {
75fn nested_blocks() { 72fn nested_blocks() {
76 check_at( 73 check_at(
77 r#" 74 r#"
78//- /lib.rs
79fn outer() { 75fn outer() {
80 struct inner1 {} 76 struct inner1 {}
81 fn inner() { 77 fn inner() {