diff options
Diffstat (limited to 'src/test/ui/resolve/issue-69401-trait-fn-no-body-ty-local.stderr')
-rw-r--r-- | src/test/ui/resolve/issue-69401-trait-fn-no-body-ty-local.stderr | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/resolve/issue-69401-trait-fn-no-body-ty-local.stderr b/src/test/ui/resolve/issue-69401-trait-fn-no-body-ty-local.stderr new file mode 100644 index 000000000..109409d27 --- /dev/null +++ b/src/test/ui/resolve/issue-69401-trait-fn-no-body-ty-local.stderr @@ -0,0 +1,9 @@ +error[E0412]: cannot find type `b` in this scope + --> $DIR/issue-69401-trait-fn-no-body-ty-local.rs:4:53 + | +LL | fn fn_with_type_named_same_as_local_in_param(b: b); + | ^ not found in this scope + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0412`. |