diff --git a/plugins/kotlin/analysis/src/org/jetbrains/kotlin/idea/highlighter/IdeRenderers.kt b/plugins/kotlin/analysis/src/org/jetbrains/kotlin/idea/highlighter/IdeRenderers.kt
index 3647676cf237..edb2b704e92a 100644
--- a/plugins/kotlin/analysis/src/org/jetbrains/kotlin/idea/highlighter/IdeRenderers.kt
+++ b/plugins/kotlin/analysis/src/org/jetbrains/kotlin/idea/highlighter/IdeRenderers.kt
@@ -24,7 +24,6 @@ import org.jetbrains.kotlin.resolve.MemberComparator
import org.jetbrains.kotlin.resolve.calls.inference.InferenceErrorData
import org.jetbrains.kotlin.resolve.calls.model.ResolvedCall
import org.jetbrains.kotlin.resolve.jvm.diagnostics.ConflictingJvmDeclarationsData
-import kotlin.comparisons.compareBy
object IdeRenderers {
diff --git a/plugins/kotlin/idea/tests/testData/checker/duplicateJvmSignature/functionAndProperty/topLevelMultifileRuntime.kt b/plugins/kotlin/idea/tests/testData/checker/duplicateJvmSignature/functionAndProperty/topLevelMultifileRuntime.kt
index 9fca59ebab6f..80d6b6cf4858 100644
--- a/plugins/kotlin/idea/tests/testData/checker/duplicateJvmSignature/functionAndProperty/topLevelMultifileRuntime.kt
+++ b/plugins/kotlin/idea/tests/testData/checker/duplicateJvmSignature/functionAndProperty/topLevelMultifileRuntime.kt
@@ -4,8 +4,8 @@
package test
val x = 1
+ fun (): Int defined in test in file topLevelMultifileRuntime.kt
+ fun getX(): Int defined in test in file topLevelMultifileRuntime.kt">val x = 1
fun getX() = 1
+ fun (): Int defined in test in file topLevelMultifileRuntime.kt
+ fun getX(): Int defined in test in file topLevelMultifileRuntime.kt">fun getX() = 1
diff --git a/plugins/kotlin/idea/tests/testData/checker/regression/kt9887.kt b/plugins/kotlin/idea/tests/testData/checker/regression/kt9887.kt
index a1b076a4684b..be47483dbeaf 100644
--- a/plugins/kotlin/idea/tests/testData/checker/regression/kt9887.kt
+++ b/plugins/kotlin/idea/tests/testData/checker/regression/kt9887.kt
@@ -2,4 +2,4 @@ open class A()
class G()
-class B : A<G>()
\ No newline at end of file
+class B : A<G>()
\ No newline at end of file
diff --git a/plugins/kotlin/idea/tests/testData/diagnosticMessage/conflictingOverloadsDefaultPackage1.txt b/plugins/kotlin/idea/tests/testData/diagnosticMessage/conflictingOverloadsDefaultPackage1.txt
index 3a3b139fa622..aba60bddda9f 100644
--- a/plugins/kotlin/idea/tests/testData/diagnosticMessage/conflictingOverloadsDefaultPackage1.txt
+++ b/plugins/kotlin/idea/tests/testData/diagnosticMessage/conflictingOverloadsDefaultPackage1.txt
@@ -1,2 +1,2 @@
-Conflicting overloads: public fun foo(x: Int): Int defined in root package, public fun foo(y: Int): Int defined in root package
\ No newline at end of file
+Conflicting overloads: public fun foo(x: Int): Int defined in root package in file conflictingOverloadsDefaultPackage.kt, public fun foo(y: Int): Int defined in root package in file conflictingOverloadsDefaultPackage.kt
\ No newline at end of file
diff --git a/plugins/kotlin/idea/tests/testData/diagnosticMessage/conflictingOverloadsDefaultPackage2.txt b/plugins/kotlin/idea/tests/testData/diagnosticMessage/conflictingOverloadsDefaultPackage2.txt
index c717e1e525e5..2217fe06dc95 100644
--- a/plugins/kotlin/idea/tests/testData/diagnosticMessage/conflictingOverloadsDefaultPackage2.txt
+++ b/plugins/kotlin/idea/tests/testData/diagnosticMessage/conflictingOverloadsDefaultPackage2.txt
@@ -1,2 +1,2 @@
-Conflicting overloads: public fun foo(x: Int): Int defined in root package, public fun foo(y: Int): Int defined in root package
\ No newline at end of file
+Conflicting overloads: public fun foo(x: Int): Int defined in root package in file conflictingOverloadsDefaultPackage.kt, public fun foo(y: Int): Int defined in root package in file conflictingOverloadsDefaultPackage.kt
\ No newline at end of file
diff --git a/plugins/kotlin/idea/tests/testData/diagnosticMessage/constructorsRedeclarationTopLevel1.txt b/plugins/kotlin/idea/tests/testData/diagnosticMessage/constructorsRedeclarationTopLevel1.txt
index 461b2e88f11b..afc94ada068c 100644
--- a/plugins/kotlin/idea/tests/testData/diagnosticMessage/constructorsRedeclarationTopLevel1.txt
+++ b/plugins/kotlin/idea/tests/testData/diagnosticMessage/constructorsRedeclarationTopLevel1.txt
@@ -1,2 +1,2 @@
-Conflicting overloads: public fun Element(x: String): Unit defined in root package, public constructor Element(x: String) defined in Element
\ No newline at end of file
+Conflicting overloads: public fun Element(x: String): Unit defined in root package in file constructorsRedeclarationTopLevel.kt, public constructor Element(x: String) defined in Element
\ No newline at end of file
diff --git a/plugins/kotlin/idea/tests/testData/diagnosticMessage/constructorsRedeclarationTopLevel2.txt b/plugins/kotlin/idea/tests/testData/diagnosticMessage/constructorsRedeclarationTopLevel2.txt
index 34db820434d6..967d8b682df1 100644
--- a/plugins/kotlin/idea/tests/testData/diagnosticMessage/constructorsRedeclarationTopLevel2.txt
+++ b/plugins/kotlin/idea/tests/testData/diagnosticMessage/constructorsRedeclarationTopLevel2.txt
@@ -1,2 +1,2 @@
-Conflicting overloads: public fun Element(x: String): Unit defined in root package, public constructor Element(x: String) defined in Element
\ No newline at end of file
+Conflicting overloads: public fun Element(x: String): Unit defined in root package in file constructorsRedeclarationTopLevel.kt, public constructor Element(x: String) defined in Element
\ No newline at end of file
diff --git a/plugins/kotlin/idea/tests/testData/diagnosticMessage/noneApplicableGeneric1.html b/plugins/kotlin/idea/tests/testData/diagnosticMessage/noneApplicableGeneric1.html
index eb44484b372d..105d90f4aa49 100644
--- a/plugins/kotlin/idea/tests/testData/diagnosticMessage/noneApplicableGeneric1.html
+++ b/plugins/kotlin/idea/tests/testData/diagnosticMessage/noneApplicableGeneric1.html
@@ -4,9 +4,9 @@ None of the following functions can be called with the arguments supplied.
- foo(T, Any, MutableList<`T>, MutableList<`T>)
where T cannot be inferred for
- fun <`T> foo(t: T, a: Any, lt: MutableList<`T>, lr: MutableList<`T>): Int defined in p
+ fun <`T> foo(t: T, a: Any, lt: MutableList<`T>, lr: MutableList<`T>): Int defined in p in file noneApplicableGeneric.kt
- foo(Int, R, MutableList<`Int>, MutableList<`R>)
where R cannot be inferred; T = Int for
- fun <`T, R> foo(t: T, r: R, lt: MutableList<`T>, lr: MutableList<`R>): Int defined in p
+ fun <`T, R> foo(t: T, r: R, lt: MutableList<`T>, lr: MutableList<`R>): Int defined in p in file noneApplicableGeneric.kt