Index: trunk/data/validator/combinations.mapcss
===================================================================
--- trunk/data/validator/combinations.mapcss	(revision 7242)
+++ trunk/data/validator/combinations.mapcss	(revision 7243)
@@ -162,2 +162,7 @@
     assertNoMatch: "node sport=10pin amenity=restaurant";
 }
+
+/* see #10140 */
+*[building:levels][!building][!building:part] {
+  throwWarning: tr("{0} without {1} or {2}", "{0.key}", "{1.key}", "{2.key}");
+}
