A warrior was offered rogue-only pieces such as Bonescythe and Deathdealer's, because the item catalog of the time did not say which classes may use most class sets. That now comes from the game's own item table (for 15 items, from the "Classes:" line of the tooltip), and one rule decides what a character may wear everywhere: the gear picker, best gear for a level, Best Gear, Compare Items, Loot Planner and Variations.
Gear text or a profile with an item your character cannot wear no longer sims it: the item is listed with the reason and its slot is simmed empty. Armour nobody restricted can still be worn by every class trained in it, so a warrior may wear plain leather.