It is a static error if a use-when expression refers to the context or attempts to refer to any documents or collections.