]> git.lizzy.rs Git - rust.git/commitdiff
Remove some unnecessary file names
authorFlorian Diebold <flodiebold@gmail.com>
Sun, 12 Jul 2020 17:59:43 +0000 (19:59 +0200)
committerFlorian Diebold <flodiebold@gmail.com>
Sun, 12 Jul 2020 18:20:31 +0000 (20:20 +0200)
crates/ra_hir_ty/src/tests/traits.rs

index 05a56215f498685ca243b07de0efd5eeb47f0a39..27737fa941ed40a7ae2dfadadc45a2a8b4ff4825 100644 (file)
@@ -1995,7 +1995,6 @@ fn test() {
 fn fn_item_fn_trait() {
     check_types(
         r#"
-//- /main.rs
 #[lang = "fn_once"]
 trait FnOnce<Args> {
     type Output;
@@ -3025,7 +3024,6 @@ fn foo() {
 fn infer_dyn_fn_output() {
     check_types(
         r#"
-//- /lib.rs
 #[lang = "fn_once"]
 pub trait FnOnce<Args> {
     type Output;
@@ -3049,7 +3047,6 @@ fn foo() {
 fn infer_dyn_fn_once_output() {
     check_types(
         r#"
-//- /lib.rs
 #[lang = "fn_once"]
 pub trait FnOnce<Args> {
     type Output;