You don't need blade tags inside a blade tag, you can use regular PHP for string concatenation, or if inside double quotes you can insert variable directly into string.
Concatenation
href="{{ url('barang/' . $barang->id_brg . '/edit') }}"
Inject directly into string (can't remember the right term)
href="{{ url("barang/{$barang->id_brg}/edit") }}"
edit: http://php.net/manual/en/language.types.string.php#language.types.string.parsing